Files
mikuru/Makefile
Shin'ya Minazuki f045e36119 Switch to Cobra
Also:
- Fixed the Makefile
- Added a Taskfile.yml (see: https://taskfile.dev)
- Updated the manual page

Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
2025-12-30 12:11:34 -03:00

11 lines
288 B
Makefile

GO = go
GOFLAGS = -v -buildvcs=false -buildmode=exe -ldflags='-w -X "`${GO} list`.Version=${VERSION}" -X "`${GO} list`.Revision=${REVISION}"'
VERSION ?= `git describe --tags`
REVISION ?= `git rev-list --all | wc -l`
build:
@${GO} build ${GOFLAGS} -o mikuru ./cmd
clean:
@rm -f mikuru