Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: common/node_runner/bin/test_node_for_smoke

Issue 2361623007: Add a run_eslint wrapper script (Closed)
Patch Set: Synced to head Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « common/eslint/eslint/smoke_test.py ('k') | common/node_runner/node_runner/node_util.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/node_runner/bin/test_node_for_smoke
diff --git a/common/node_runner/bin/test_node_for_smoke b/common/node_runner/bin/test_node_for_smoke
deleted file mode 100755
index b14585897ba1b47332753cd71157ed8b43311df9..0000000000000000000000000000000000000000
--- a/common/node_runner/bin/test_node_for_smoke
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env python
-# Copyright 2016 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import os
-import sys
-
-_NODE_RUNNER_PATH = os.path.abspath(
- os.path.join(os.path.dirname(__file__), '..'))
-
-
-_PY_UTILS_PATH = os.path.abspath(
- os.path.join(_NODE_RUNNER_PATH, '..', 'py_utils'))
-
-
-def _AddToPathIfNeeded(path):
- if path not in sys.path:
- sys.path.insert(0, path)
-
-
-if __name__ == '__main__':
- _AddToPathIfNeeded(_NODE_RUNNER_PATH)
- _AddToPathIfNeeded(_PY_UTILS_PATH)
-
- from node_runner import node_util
- print node_util.RunEslint()
- sys.exit(0)
« no previous file with comments | « common/eslint/eslint/smoke_test.py ('k') | common/node_runner/node_runner/node_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698