github.com/mattevans/edward@v1.9.2/Makefile (about) 1 all: build test 2 3 PKGS=`go list ./... | grep -v /vendor/ | grep -v /examples/` 4 5 version: 6 ./version.sh 7 8 install: 9 go install 10 11 build: 12 ./build.sh 13 14 test: unit acceptance 15 16 unit: 17 go test -timeout 3m -race -cover -count 1 $(PKGS) 18 19 acceptance: 20 go test -timeout 3m -race -cover -count 1 github.com/mattevans/edward/test/acceptance -edward.acceptance 21 22 docs: 23 cd docs_src && hugo 24 25 release: version docs 26 ./release.sh 27 28 servedocs: 29 cd docs_src && hugo serve 30 31 .PHONY: build docs version