Add Justfile (#127)

This commit is contained in:
video-prize-ranch
2023-08-14 13:22:12 -04:00
parent f29df4fbd9
commit 2f80594106
2 changed files with 10 additions and 8 deletions

7
Justfile Normal file
View File

@@ -0,0 +1,7 @@
build:
tailwindcss -i static/tailwind.css -o static/app.css -m
CGO_ENABLED=0 go build -o rimgo -ldflags "-X codeberg.org/rimgo/rimgo/pages.VersionInfo=$(date '+%Y-%m-%d')-$(git rev-list --abbrev-commit -1 HEAD)"
dev:
tailwindcss -i static/tailwind.css -o static/app.css -m -w &
go run github.com/cosmtrek/air@latest -c .air.toml