rimgo/Justfile
video-prize-ranch 0f1fbc2401 Update air git repo (#186)
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/186
Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
Co-committed-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
2024-07-03 13:02:39 +00:00

12 lines
547 B
Makefile

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/air-verse/air@latest -c .air.toml
tag-vpr:
podman pull codeberg.org/rimgo/rimgo:latest
podman image tag codeberg.org/rimgo/rimgo:latest codeberg.org/video-prize-ranch/rimgo:latest
podman push codeberg.org/video-prize-ranch/rimgo:latest