1
1
Fork 0
mirror of https://github.com/OJ/gobuster.git synced 2024-05-13 12:56:03 +02:00

fix taskfile

This commit is contained in:
Christian Mehlmauer 2024-02-23 23:57:48 +01:00
parent 0ab194bab6
commit 038d45b844

View File

@ -17,24 +17,23 @@ tasks:
- go build -o {{.OUTPUT_FILE | default .PROGRAM}}
env:
CGO_ENABLED: 0
GOOS: '{{.GOOS | default "linux"}}'
GOARCH: '{{.GOARCH | default "amd64"}}'
linux:
cmds:
- task: build
env:
CGO_ENABLED: 0
GOOS: linux
GOARCH: amd64
vars:
GOOS: linux
GOARCH: amd64
windows:
cmds:
- task: build
vars:
OUTPUT_FILE: "{{.PROGRAM}}.exe"
env:
CGO_ENABLED: 0
GOOS: windows
GOARCH: amd64
GOOS: windows
GOARCH: amd64
test:
env: