aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-02-04 00:30:57 -0500
committerPaul Duncan <pabs@pablotron.org>2022-02-04 00:30:57 -0500
commit92400d731546557d110c9c3cc3906d700f83dda8 (patch)
tree1a5aa64b275af376f009272faeae41b0e68591a0
parentc9022d457adbd7ebc0aa5159ddd6be1cbf090a01 (diff)
downloadcvez-92400d731546557d110c9c3cc3906d700f83dda8.tar.bz2
cvez-92400d731546557d110c9c3cc3906d700f83dda8.zip
Makefile: remove go1.18beta1
-rw-r--r--Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 79c23a0..effbbbc 100644
--- a/Makefile
+++ b/Makefile
@@ -2,36 +2,36 @@
# build binary
all:
- go1.18beta1 build -ldflags='-s -w'
+ go build -ldflags='-s -w'
# run all tests
test:
- go1.18beta1 test -cover ./...
+ go test -cover ./...
# run all tests, print result to stdout as json
testjson:
- go1.18beta1 test -json -cover ./...
+ go test -json -cover ./...
# run go vet
vet:
- go1.18beta1 vet ./...
+ go vet ./...
# run go vet, print results to stdout as json
vetjson:
- go1.18beta1 vet -json ./...
+ go vet -json ./...
# generate test coverage profile, print results to stdout
cov:
- go1.18beta1 test -coverprofile=coverage.out ./... && \
- go1.18beta1 tool cover -func=coverage.out
+ go test -coverprofile=coverage.out ./... && \
+ go tool cover -func=coverage.out
# generate test coverage profile, render results as html, show
# in browser
covhtml:
- go1.18beta1 test -coverprofile=coverage.out ./... && \
- go1.18beta1 tool cover -html=coverage.out -o coverage.html && \
+ go test -coverprofile=coverage.out ./... && \
+ go tool cover -html=coverage.out -o coverage.html && \
xdg-open ./coverage.html
# run go clean
clean:
- go1.18beta1 clean
+ go clean