about summary refs log tree commit diff
diff options
context:
space:
mode:
-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()