17 lines
447 B
Makefile
17 lines
447 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/tailwind:
|
|
npx --yes tailwindcss -i ./input.css -o ./assets/styles.css --minify --watch
|