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

Unified Diff: third_party/WebKit/Source/devtools/scripts/buildbot/npm.py

Issue 2278803004: DevTools: Add scripts for buildbot to use node.js/npm (Closed)
Patch Set: rename folder Created 4 years, 4 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
Index: third_party/WebKit/Source/devtools/scripts/buildbot/npm.py
diff --git a/third_party/WebKit/Source/devtools/scripts/buildbot/npm.py b/third_party/WebKit/Source/devtools/scripts/buildbot/npm.py
new file mode 100755
index 0000000000000000000000000000000000000000..45f7bfd6f9abefd0ded85080ef3625d6886c578b
--- /dev/null
+++ b/third_party/WebKit/Source/devtools/scripts/buildbot/npm.py
@@ -0,0 +1,14 @@
+#!/usr/bin/env python
+# Copyright (c) 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 imp
+import os
+import sys
+
+THIS_PATH = os.path.dirname(os.path.abspath(__file__))
+node_py = imp.load_source('node', os.path.join(THIS_PATH, 'node.py'))
+
+if __name__ == '__main__':
+ sys.exit(node_py.main('npm'))

Powered by Google App Engine
This is Rietveld 408576698