はじめます!

Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
2026-01-02 19:34:10 -03:00
commit ee6f23e787
8 changed files with 151 additions and 0 deletions

30
Taskfile.yml Normal file
View File

@@ -0,0 +1,30 @@
# https://taskfile.dev
version: '3'
env:
GO: go
GOTELEMETRY: off
vars:
IMPORT: git.laidback.moe/shinyoukai/haruhi
VERSION: 0.0.0
tasks:
default:
cmds:
- task: build
build:
desc: Build the bot
cmds:
- $GO build -v -ldflags='-w -X {{.IMPORT}}.Version=$VERSION' -buildvcs=false -o haruhi
silent: true
clean:
desc: Remove generated files
cmds:
- rm -f haruhi
silent: true
tidy:
desc: Update go.mod
cmds:
- $GO mod tidy
silent: true