From 9d95b189135422a720cb00f8b0ca8546e7fdc9b5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 1 Dec 2024 19:27:30 -0600 Subject: Day 1. pull these out from protobuf libraries --- validate/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 validate/Makefile (limited to 'validate/Makefile') diff --git a/validate/Makefile b/validate/Makefile new file mode 100644 index 0000000..1e51eb6 --- /dev/null +++ b/validate/Makefile @@ -0,0 +1,21 @@ +VERSION = $(shell git describe --tags) +BUILDTIME = $(shell date +%Y.%m.%d) + +build: + GO111MODULE=off go build \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + +test: + ./validate --repo go.wit.com/apps/wit-package + +goimports: + goimports -w *.go + +prep: + go get -v -t -u + +run: + go run *.go + +clean: + -rm -f scanGoSrc -- cgit v1.2.3