From 1c0ef025c1a39fba741ce824c821374fad5619bb Mon Sep 17 00:00:00 2001 From: Onyx and Iris Date: Thu, 24 Jul 2025 00:15:53 +0100 Subject: [PATCH] add mac build to Taskfile --- Taskfile.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Taskfile.yaml b/Taskfile.yaml index e2ded2a..fd2bfc8 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -22,6 +22,7 @@ tasks: cmds: - task: build-windows - task: build-linux + - task: build-macos vet: desc: Vet the code @@ -46,6 +47,12 @@ tasks: - GOOS=linux GOARCH=amd64 go build -ldflags "-X 'main.version={{.VERSION}}'" -o {{.BIN_DIR}}/{{.PROGRAM}}_linux_amd64 internal: true + build-macos: + desc: Build the gobs-cli project for macOS + cmds: + - GOOS=darwin GOARCH=amd64 go build -ldflags "-X 'main.version={{.VERSION}}'" -o {{.BIN_DIR}}/{{.PROGRAM}}_darwin_amd64 + internal: true + test: desc: Run tests cmds: