github.com/tobgu/qframe@v0.4.0/Makefile (about) 1 generate: 2 # Build and install generator binary first 3 go generate github.com/tobgu/qframe/... || true 4 go install github.com/tobgu/qframe/cmd/qfgenerate 5 go generate github.com/tobgu/qframe/... 6 7 test: generate 8 go test ./... 9 10 lint: 11 ~/go/bin/golangci-lint run ./... 12 13 ci: test lint 14 15 fmt: generate 16 go fmt ./... 17 18 vet: generate 19 go vet ./... 20 21 cov: generate 22 go test github.com/tobgu/qframe/... -coverprofile=coverage.out -coverpkg=all 23 go tool cover -html=coverage.out 24 25 deps: 26 go get -t ./... 27 28 dev-deps: deps 29 go install github.com/mauricelam/genny@latest 30 mkdir -p ~/go/bin 31 curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b ~/go/bin v1.55.2 32 33 qplot_examples: 34 cd contrib/gonum/qplot/examples \ 35 && go run temperatures.go