diff options
author | Franck Cuny <franck@fcuny.net> | 2024-05-04 13:31:48 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-05-04 13:31:48 -0700 |
commit | 0e63b62adfa41c1511c53bd1c06d5299e8dfe897 (patch) | |
tree | f80fdb4623ddefab0bbaa3cbb12d4baaad3c7c87 /ci/build-environment.py | |
parent | ensure we install coreutil (diff) | |
download | world-0e63b62adfa41c1511c53bd1c06d5299e8dfe897.tar.gz |
delete CI script
Diffstat (limited to 'ci/build-environment.py')
-rwxr-xr-x | ci/build-environment.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ci/build-environment.py b/ci/build-environment.py deleted file mode 100755 index 64a827a..0000000 --- a/ci/build-environment.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python3 - -from shutil import which -import subprocess - - -def go_version(): - print("go information:") - - path = which("go") - print(f" path={path}") - - cmd = subprocess.run([path, "version"], capture_output=True, text=True) - # output is `go version go1.21.5 darwin/arm64`, we want the version and architecture - version = cmd.stdout.rstrip().split() - print(f" version={version[2]}") - print(f" architecture={version[3]}") - - -def main(): - go_version() - - -if __name__ == "__main__": - main() |