Reorganize the project layout, fix some logging quirks

Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
2025-12-30 19:13:42 -03:00
parent a2a93adfb6
commit 613576f438
11 changed files with 44 additions and 41 deletions

View File

@@ -6,8 +6,7 @@ env:
GO: go
vars:
IMPORT: git.laidback.moe/shinyoukai/mikuru
DIR: ./cmd
IMPORT: git.laidback.moe/shinyoukai/mikuru/mirai
tasks:
default:
cmds:
@@ -15,7 +14,7 @@ tasks:
build:
desc: Build the client
cmds:
- $GO build -ldflags='-s -w -X "{{.IMPORT}}.Version={{.VERSION}}" -X "{{.IMPORT}}.Revision={{.REVISION}}"' -v -o mikuru {{.DIR}}
- $GO build -ldflags='-s -w -X "{{.IMPORT}}.Version={{.VERSION}}" -X "{{.IMPORT}}.Revision={{.REVISION}}"' -v
vars:
REVISION:
sh: git rev-list --all | wc -l | tr -d ' '