add macos build target to Taskfile

This commit is contained in:
onyx-and-iris 2026-03-29 21:16:03 +01:00
parent 8059255d52
commit 196a7dac01

View File

@ -19,6 +19,7 @@ tasks:
cmds:
- task: build-windows
- task: build-linux
- task: build-macos
vet:
desc: Vet the code
@ -43,6 +44,12 @@ tasks:
- GOOS=linux GOARCH=amd64 go build -o {{.BIN_DIR}}/{{.PROGRAM}}_linux_amd64 -ldflags="-X main.version={{.VERSION}}"
internal: true
build-macos:
desc: Build the exclude project for macOS
cmds:
- GOOS=darwin GOARCH=amd64 go build -o {{.BIN_DIR}}/{{.PROGRAM}}_darwin_amd64 -ldflags="-X main.version={{.VERSION}}"
internal: true
test:
desc: Run tests
cmds: