diff --git a/Taskfile.yml b/Taskfile.yml index 4252926..c6ac40b 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -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: @@ -51,4 +58,4 @@ tasks: clean: desc: Clean the build artifacts cmds: - - '{{.SHELL}} rm -r {{.BIN_DIR}}' \ No newline at end of file + - '{{.SHELL}} rm -r {{.BIN_DIR}}'