mirror of
https://github.com/rjNemo/underscore
synced 2026-06-06 10:36:43 +00:00
* change documentation theme and structure * add config files * fix links * add build doc command Co-authored-by: Ruidy <rnemausat@newstore.com>
13 lines
No EOL
335 B
Makefile
13 lines
No EOL
335 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)
|
|
|
|
docs:
|
|
cd docs && hugo server -D
|
|
|
|
build-docs:
|
|
cd docs && hugo --gc --minify
|