From b08e0ea3e8326280bae108018264e6494a52d606 Mon Sep 17 00:00:00 2001 From: Sacha Ligthert Date: Wed, 14 Aug 2024 17:02:47 +0200 Subject: [PATCH] The (actual) Taskfile definition --- Taskfile.dist.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Taskfile.dist.yaml diff --git a/Taskfile.dist.yaml b/Taskfile.dist.yaml new file mode 100644 index 0000000..a408ec5 --- /dev/null +++ b/Taskfile.dist.yaml @@ -0,0 +1,13 @@ +version: '3' + +tasks: + default: + cmds: + - go run . + build: + cmds: + - mkdir -p builds + - rm builds/* || true + - go tool dist list | grep -v android | grep -v ios | grep -v wasip1 | awk -F '/' '{printf "echo Compiling %s/%s; env CGO_ENABLED=1 GOOS=%s GOARCH=%s go build -o builds/rowboz.%s-%s\n",$1,$2,$1,$2,$1,$2 }' | sh + - for i in `ls builds/*windows*`; do mv -v $i $i.exe; done +