# 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