Death and rebirth
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
10
Taskfile.yml
10
Taskfile.yml
@@ -7,8 +7,9 @@ env:
|
||||
GOTELEMETRY: off
|
||||
|
||||
vars:
|
||||
IMPORT: git.laidback.moe/shinyoukai/yuki
|
||||
VERSION: 0.0.0
|
||||
IMPORT: code.laidback.moe/yuki
|
||||
VERSION: 2026.01.21
|
||||
|
||||
tasks:
|
||||
default:
|
||||
cmds:
|
||||
@@ -16,15 +17,12 @@ tasks:
|
||||
build:
|
||||
desc: Build the interface
|
||||
cmds:
|
||||
- $GO build -v -ldflags='-w -X {{.IMPORT}}.Version=$VERSION' -buildvcs=false -o yuki
|
||||
silent: true
|
||||
- $GO build -v -ldflags='-w -X {{.IMPORT}}.Version={{.VERSION}}' -buildvcs=false -o yuki
|
||||
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