diff options
Diffstat (limited to 'validate/Makefile')
| -rw-r--r-- | validate/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
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 |
