From fd3b806b4a1f647103c7ecb417cf1ffced9c4cb1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 1 Dec 2024 12:53:46 -0600 Subject: add test app --- validate/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 validate/Makefile (limited to 'validate/Makefile') diff --git a/validate/Makefile b/validate/Makefile new file mode 100644 index 0000000..24a62b6 --- /dev/null +++ b/validate/Makefile @@ -0,0 +1,20 @@ +VERSION = $(shell git describe --tags) +BUILDTIME = $(shell date +%Y.%m.%d) + +build: + reset + GO111MODULE=off go build \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + ./validate + +goimports: + goimports -w *.go + +prep: + go get -v -t -u + +run: + go run *.go + +clean: + -rm -f scanGoSrc -- cgit v1.2.3