diff options
| author | Jeff Carr <[email protected]> | 2024-12-01 19:27:30 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-01 19:27:30 -0600 |
| commit | 9d95b189135422a720cb00f8b0ca8546e7fdc9b5 (patch) | |
| tree | 34299ad83167152bf4681b4264751b5c4f9cdf50 /validate/Makefile | |
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 |
