mirror of
https://github.com/rjNemo/underscore
synced 2026-06-06 02:26:42 +00:00
10 lines
No EOL
288 B
Makefile
10 lines
No EOL
288 B
Makefile
TEST = "CGO_ENABLED=0 go test ./... -coverpkg=./... -coverprofile coverage.txt -covermode=atomic; go tool cover -func coverage.txt"
|
|
|
|
build:
|
|
docker build . -t underscore:latest
|
|
|
|
test: build
|
|
docker run --name underscore --rm -i -t underscore sh -c $(TEST)
|
|
|
|
doc:
|
|
cd docs && hugo server -D
|