xmnt/Makefile

16 lines
248 B
Makefile
Raw Permalink Normal View History

2022-10-07 02:19:04 +09:00
BIN_NAME := xmnt
build:
CGO_ENABLED=0 go build -trimpath -ldflags '-s -w' -o "$(BIN_NAME)"
install: build
install -vDt "${HOME}/.local/bin" "$(BIN_NAME)"
clean:
rm -vf "$(BIN_NAME)"
2023-03-04 14:09:51 +09:00
lint:
golangci-lint run
.PHONY: build install clean lint