1
0
Fork 0
mirror of https://github.com/imjasonh/gots synced 2026-07-08 00:56:04 +00:00
gots/Makefile
Jason Hall 0c84c06bb7 initial commit
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-08-30 20:38:34 -04:00

21 lines
No EOL
410 B
Makefile

.PHONY: generate build run dev clean
# Generate frontend assets
generate:
go generate ./...
# Build the Go binary
build: generate
go build -o gojs .
# Run the server (regenerates assets first)
run: generate
go run . -port=8080
# Development mode - watch for changes
dev: generate
go run . -port=8080
# Clean generated files
clean:
rm -rf assets/ frontend/node_modules/ frontend/package-lock.json gojs