diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2019-06-27 14:39:15 -0700 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-07-02 06:08:03 +0200 |
commit | ed14aa6d512e682850a39b6081507c9970cf93c9 (patch) | |
tree | f6d9dd7971f8173cd12daab1882b31ec51f7e49a /tools/getmachine.py | |
parent | e669b8154cbf3bd5364b6b63321cbf615cc14fce (diff) | |
download | android-node-v8-ed14aa6d512e682850a39b6081507c9970cf93c9.tar.gz android-node-v8-ed14aa6d512e682850a39b6081507c9970cf93c9.tar.bz2 android-node-v8-ed14aa6d512e682850a39b6081507c9970cf93c9.zip |
tools: move python code out of jenkins shell
https://ci.nodejs.org/job/node-test-commit-v8-linux/configure echoes
python code into tools and runs it. Move these scripts into tools for
better maintainability.
Once this lands and is back-ported into LTS branches a bunch of shell
code can be deleted from the job.
PR-URL: https://github.com/nodejs/node/pull/28458
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'tools/getmachine.py')
-rw-r--r-- | tools/getmachine.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/getmachine.py b/tools/getmachine.py new file mode 100644 index 0000000000..046d8b17a7 --- /dev/null +++ b/tools/getmachine.py @@ -0,0 +1,3 @@ +from __future__ import print_function +import platform +print(platform.machine()) |