From 0e63b62adfa41c1511c53bd1c06d5299e8dfe897 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 4 May 2024 13:31:48 -0700 Subject: delete CI script --- Makefile | 6 ++---- ci/build-environment.py | 25 ------------------------- 2 files changed, 2 insertions(+), 29 deletions(-) delete mode 100755 ci/build-environment.py 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() -- cgit 1.4.1