Added tests, shift 'delete'. Fixed overnight shifts, sync, error handling.

This commit is contained in:
Pen Anderson 2026-03-03 12:50:24 -06:00
parent c9180490a4
commit f2aa04db15
20 changed files with 2521 additions and 39 deletions

View file

@ -1,4 +1,4 @@
.PHONY: build frontend-build dev clean
.PHONY: build frontend-build dev clean test
build: frontend-build
CGO_ENABLED=0 go build -o turnpike .
@ -11,6 +11,10 @@ dev:
@echo " Terminal 1: go run . --db dev.db"
@echo " Terminal 2: cd frontend && npm run dev"
test:
go test ./...
cd frontend && npx vitest run
clean:
rm -f turnpike dev.db
rm -rf frontend/dist