underscore/Makefile
Ruidy d19fa7b8c9
docsite (#19)
* change documentation theme and structure

* add config files

* fix links

* add build doc command

Co-authored-by: Ruidy <rnemausat@newstore.com>
2022-03-23 10:32:56 -04:00

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