Skip to content

Commit 53abe29

Browse files
aksOpsclaude
andcommitted
fix: commit UI dist, fix gitignore, add Makefile for go build
- Build and commit ui/dist/ so go:embed works without separate frontend build - Remove duplicate dist/ rule in .gitignore that overrode the !ui/dist exception - Add Makefile with build, test, vet, check, ui-install, ui-build, dev-ui, dev-go targets Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b5856c5 commit 53abe29

5 files changed

Lines changed: 275 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,4 @@ ui/*.tsbuildinfo
3535

3636
# OS
3737
.DS_Store
38-
Thumbs.db
39-
40-
dist/
38+
Thumbs.db

Makefile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.PHONY: build test vet check ui-install ui-build dev-ui dev-go
2+
3+
ui-install:
4+
cd ui && npm install
5+
6+
ui-build:
7+
cd ui && npm run build
8+
9+
build: ui-build
10+
CGO_ENABLED=0 go build ./...
11+
12+
test:
13+
CGO_ENABLED=0 go test -timeout 120s ./...
14+
15+
vet:
16+
go vet ./...
17+
18+
check: build vet test
19+
20+
dev-ui:
21+
cd ui && npm run dev
22+
23+
dev-go:
24+
go run . serve

ui/dist/assets/index-Bn6RzH4k.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)