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

initial commit

Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
Jason Hall 2025-08-30 20:38:34 -04:00
commit 0c84c06bb7
12 changed files with 2209 additions and 0 deletions

21
Makefile Normal file
View file

@ -0,0 +1,21 @@
.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