Skip to content

Commit f38045d

Browse files
wesmclaude
andcommitted
fix: add placeholder for go:embed so CI compiles without frontend
The go:embed all:dist directive in internal/web/embed.go requires at least one file in internal/web/dist/. Without the frontend build output, lint, test, and coverage jobs all fail. Add a committed placeholder that satisfies the embed directive and gets overwritten by make frontend. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 778831f commit f38045d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ frontend/dist/
1010
frontend/test-results/
1111
frontend/playwright-report/
1212

13-
# Embedded frontend build output
14-
internal/web/dist/
13+
# Embedded frontend build output (keep placeholder for go:embed)
14+
internal/web/dist/*
15+
!internal/web/dist/placeholder.html
1516

1617
# Test/build artifacts
1718
/dist/

internal/web/dist/placeholder.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<!doctype html>
2+
<html><body>Run <code>make frontend</code> to build.</body></html>

0 commit comments

Comments
 (0)