mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Add 'make test' to the Makefile
This commit is contained in:
parent
0f86740a7f
commit
1d888118c5
5
Makefile
5
Makefile
@ -1,4 +1,4 @@
|
|||||||
.PHONY: contrib_check dependencies install run size
|
.PHONY: contrib_check dependencies install run size test
|
||||||
|
|
||||||
# detect GOPATH if not set
|
# detect GOPATH if not set
|
||||||
ifndef $(GOPATH)
|
ifndef $(GOPATH)
|
||||||
@ -36,3 +36,6 @@ run: build
|
|||||||
|
|
||||||
size:
|
size:
|
||||||
loc --exclude vendor/ _sample_configs/ _site/ docs/ Makefile *.md *.toml
|
loc --exclude vendor/ _sample_configs/ _site/ docs/ Makefile *.md *.toml
|
||||||
|
|
||||||
|
test: build
|
||||||
|
go test ./...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user