wit-utils/Makefile

21 lines
465 B
Makefile
Raw Normal View History

all:
2025-01-18 04:48:19 -06:00
@echo "# todo: fix Makefile to use the .forge file"
clean:
rm -f go.*
2025-01-18 04:48:19 -06:00
go-mod-clean --purge
build: goimports vet
GO111MODULE=off go build \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
install: goimports vet
GO111MODULE=off go install \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
vet:
GO111MODULE=off go vet
goimports:
goimports -w *.go