OLD | NEW |
(Empty) | |
| 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. |
| 5 |
| 6 """Download and run node.js.""" |
| 7 # File originally from https://cs.chromium.org/chromium/infra/node/npm.py |
| 8 |
| 9 import imp |
| 10 import os |
| 11 import sys |
| 12 |
| 13 THIS_PATH = os.path.dirname(os.path.abspath(__file__)) |
| 14 node_py = imp.load_source('node', os.path.join(THIS_PATH, 'node.py')) |
| 15 |
| 16 if __name__ == '__main__': |
| 17 sys.exit(node_py.main('npm')) |
OLD | NEW |