You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
427 B
25 lines
427 B
|
1 month ago
|
build:
|
||
|
|
go build .
|
||
|
|
|
||
|
|
test:
|
||
|
|
go test MY/webapp/tests -c
|
||
|
|
./tests.test
|
||
|
|
|
||
|
|
test_only:
|
||
|
|
go test . -c -o
|
||
|
|
./tests.test -test.run TestSomePage
|
||
|
|
|
||
|
|
docs:
|
||
|
|
pkgsite --open
|
||
|
|
|
||
|
|
coverage:
|
||
|
|
go build -cover -o webapp
|
||
|
|
mkdir -p .coverage
|
||
|
|
echo "GOCOVERDIR=.coverage ./webapp"
|
||
|
|
|
||
|
|
cover_report:
|
||
|
|
go tool covdata textfmt -i=.coverage -o coverage.txt
|
||
|
|
go tool cover -func=coverage.txt
|
||
|
|
go tool cover -html=coverage.txt -o coverage.html
|
||
|
|
open coverage.html
|