#3 Prepare for release
This commit is contained in:
parent
5d02036f9e
commit
582e268d56
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
builds
|
10
Taskfile.yml
10
Taskfile.yml
@ -2,6 +2,10 @@
|
||||
|
||||
version: '3'
|
||||
|
||||
vars:
|
||||
APP: sudoku-funpark
|
||||
BUILD_DIR: builds
|
||||
|
||||
tasks:
|
||||
default:
|
||||
cmds:
|
||||
@ -23,3 +27,9 @@ tasks:
|
||||
cmds:
|
||||
- golangci-lint run
|
||||
silent: true
|
||||
build:
|
||||
cmds:
|
||||
- mkdir -p {{.BUILD_DIR}}
|
||||
- rm {{.BUILD_DIR}}/* || true
|
||||
- go tool dist list | grep -v android | grep -v ios | grep -v wasip1 | awk -F '/' '{printf "echo Compiling %s/%s; env CGO_ENABLED=1 GOOS=%s GOARCH=%s go build -o {{.BUILD_DIR}}/{{.APP}}.%s-%s\n",$1,$2,$1,$2,$1,$2 }' | sh
|
||||
- for i in `ls {{.BUILD_DIR}}/*windows*`; do mv -v $i $i.exe; done
|
Loading…
x
Reference in New Issue
Block a user