1
0
Fork 0
mirror of https://github.com/imjasonh/gots synced 2026-07-08 00:56:04 +00:00

add docs, fix up air usage

Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
Jason Hall 2025-08-30 21:06:52 -04:00
parent 0c84c06bb7
commit 6fb1556043
6 changed files with 40 additions and 7 deletions

View file

@ -1,4 +1,6 @@
.PHONY: generate build run dev clean
.PHONY: generate build run dev clean install-air
KO_DOCKER_REPO?=ttl.sh/jason
# Generate frontend assets
generate:
@ -12,10 +14,13 @@ build: generate
run: generate
go run . -port=8080
# Development mode - watch for changes
dev: generate
go run . -port=8080
# Development mode - watch for changes and auto-reload
dev:
go tool air
image:
KO_DOCKER_REPO=$(KO_DOCKER_REPO) ko build
# Clean generated files
clean:
rm -rf assets/ frontend/node_modules/ frontend/package-lock.json gojs
rm -rf assets/ frontend/node_modules/ frontend/package-lock.json gojs