summaryrefslogtreecommitdiff
path: root/validate/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-01 12:53:46 -0600
committerJeff Carr <[email protected]>2024-12-01 12:53:46 -0600
commitfd3b806b4a1f647103c7ecb417cf1ffced9c4cb1 (patch)
treeafa31f225f924891a67011db8f33abcdea63e0f8 /validate/Makefile
parentf24d8131c3f995f9c24a37cb5a8e46da840f2eb0 (diff)
add test appv0.0.13
Diffstat (limited to 'validate/Makefile')
-rw-r--r--validate/Makefile20
1 files changed, 20 insertions, 0 deletions
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