test: add unit tests

This commit is contained in:
rramiachraf
2024-03-06 20:53:29 +01:00
parent c8747c0182
commit afc0347a1b
19 changed files with 358 additions and 31 deletions

View File

@ -8,5 +8,7 @@ build:gentempl esbuild
templ generate
cat ./style/*.css | ./esbuild --loader=css --minify > ./static/style.css
go build -ldflags="-X 'github.com/rramiachraf/dumb/data.Version=$(VERSION)' -s -w"
test:
go test ./... -v
fmt:
templ fmt .