mirror of
https://github.com/OJ/gobuster.git
synced 2024-05-13 12:56:03 +02:00
fix taskfile
This commit is contained in:
parent
0ab194bab6
commit
038d45b844
15
Taskfile.yml
15
Taskfile.yml
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue