Skip to content

Commit 34f9b24

Browse files
committed
add a little help thing
1 parent 06945a6 commit 34f9b24

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
all:
2-
@echo "No default target. Please specify a target."
2+
@echo "No target specified. Available targets:"
3+
@echo " caddy: Build Caddy with the Shoreline plugin."
4+
@echo " ui: Build the UI."
5+
@echo " clean: Clean up build artifacts."
36

47
caddy: caddy-shoreline/go.mod caddy-shoreline/shorelinelogger.go
58
@echo "Building Caddy..."
@@ -11,12 +14,13 @@ ui/.next/build-manifest.json:
1114
@cd ui && npm install && npm run build
1215
@echo "UI build complete."
1316

14-
ui: ui/.next/build-manifest.json ui/package.json ui/package-lock.json ui/next.config.js
17+
ui: ui/.next/build-manifest.json
1518
@echo "Built..."
1619

17-
1820
clean:
1921
@echo "Cleaning up..."
2022
@rm -rf ui/.next
2123
@rm -rf caddy
2224
@echo "Clean complete."
25+
26+
.PHONY: all ui clean help

0 commit comments

Comments
 (0)