We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11b4ea5 commit 3fe4961Copy full SHA for 3fe4961
1 file changed
Makefile
@@ -30,9 +30,11 @@ e2e: webapp
30
vet:
31
go vet ./...
32
33
-## clean: remove build artifacts
+## clean: remove build artifacts (keeps webapp/build/placeholder for go:embed)
34
clean:
35
- rm -rf $(BINDIR) $(WEBAPP)/build $(WEBAPP)/node_modules
+ rm -rf $(BINDIR) $(WEBAPP)/node_modules
36
+ find $(WEBAPP)/build -not -name '.gitkeep' -not -name 'index.html' -type f -delete 2>/dev/null || true
37
+ find $(WEBAPP)/build -not -name '.gitkeep' -empty -type d -delete 2>/dev/null || true
38
39
## release: cross-compile for darwin/linux/windows amd64
40
release: webapp
0 commit comments