about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-05-04 13:31:48 -0700
committerFranck Cuny <franck@fcuny.net>2024-05-04 13:31:48 -0700
commit0e63b62adfa41c1511c53bd1c06d5299e8dfe897 (patch)
treef80fdb4623ddefab0bbaa3cbb12d4baaad3c7c87
parentensure we install coreutil (diff)
downloadworld-0e63b62adfa41c1511c53bd1c06d5299e8dfe897.tar.gz
delete CI script
-rw-r--r--Makefile6
-rwxr-xr-xci/build-environment.py25
2 files changed, 2 insertions, 29 deletions
diff --git a/Makefile b/Makefile
index 92e4c1a..a5f0f8a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,2 @@
-.PHONY: build-environment
-
-build-environment:
-	@./ci/build-environment.py
+.venv:
+	@rye sync
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()