Yuki N. > COMMIT;
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
30
Taskfile.yml
Normal file
30
Taskfile.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
# https://taskfile.dev
|
||||
|
||||
version: '3'
|
||||
|
||||
env:
|
||||
GO: go
|
||||
GOTELEMETRY: off
|
||||
|
||||
vars:
|
||||
IMPORT: git.laidback.moe/shinyoukai/yuki
|
||||
VERSION: 0.0.0
|
||||
tasks:
|
||||
default:
|
||||
cmds:
|
||||
- task: build
|
||||
build:
|
||||
desc: Build the interface
|
||||
cmds:
|
||||
- $GO build -v -ldflags='-w -X {{.IMPORT}}.Version=$VERSION' -buildvcs=false -o yuki
|
||||
silent: true
|
||||
clean:
|
||||
desc: Remove generated files
|
||||
cmds:
|
||||
- rm -f yuki
|
||||
silent: true
|
||||
tidy:
|
||||
desc: Update go.mod
|
||||
cmds:
|
||||
- $GO mod tidy
|
||||
silent: true
|
||||
Reference in New Issue
Block a user