18 lines
459 B
Makefile
18 lines
459 B
Makefile
test:
|
|
mkdir -p .test
|
|
go test ./... -coverprofile=.test/coverage.out -json > .test/report.json
|
|
|
|
# scan:
|
|
# sonar-scanner -Dsonar.token=sqa_ca8394c93a728d6cff96703955288d8902c15200
|
|
|
|
# complete live run
|
|
live:
|
|
make -j2 live/templ live/tailwindcss
|
|
|
|
live/templ:
|
|
templ generate --watch --proxy="http://localhost:8080" --cmd="go run ." --open-browser=false
|
|
|
|
live/tailwindcss:
|
|
npx --yes tailwindcss -i ./src/main.css -o ./static/css/styles.css --watch
|
|
#--minify
|