mirror of
https://github.com/rjNemo/underscore
synced 2026-06-06 02:26:42 +00:00
10 lines
No EOL
290 B
Makefile
10 lines
No EOL
290 B
Makefile
TEST = "go test ./... -coverpkg=./... -coverprofile coverage.out -covermode=count; go tool cover -func coverage.out; rm coverage.out"
|
|
|
|
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
|