Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
2026-01-20 09:06:35 -03:00
commit b81042aff0
9 changed files with 157 additions and 0 deletions

25
Taskfile.yml Normal file
View File

@@ -0,0 +1,25 @@
# https://taskfile.dev
version: '3'
vars:
GOVER: 125
VERSION: 0.0.0
tasks:
default:
cmds:
- task -l
silent: true
build:
desc: Build the program
cmds:
- go{{.GOVER}} build -ldflags='-w -X code.laidback.moe/yomi/cmd.Version={{.VERSION}}' -buildvcs=false -v
clean:
desc: Remove the program
cmds:
- rm -f yomi
tidy:
desc: Maintain go.mod
cmds:
- go{{.GOVER}} mod tidy