Skip to content

Commit 253c8ce

Browse files
oubiwannclaude
andcommitted
fix: add .PHONY to docs target so make doesn't skip it
Make was skipping the docs target because the docs/ directory exists, causing make to think the target was up to date. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ea55644 commit 253c8ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ check: common-checks test
250250
.PHONY: check-all
251251
check-all: common-checks coverage docs
252252
@echo ""
253-
@echo "$(GREEN)✓ Full validation complete (build + lint + coverage)$(RESET)"
253+
@echo "$(GREEN)✓ Full validation complete (build + lint + coverage + docs)$(RESET)"
254254
@echo ""
255255

256256
# Ensure cargo-binstall is available for fast tool installation
@@ -288,6 +288,7 @@ deps: ensure-binstall
288288
@cargo upgrade
289289
@echo "$(GREEN)✓ Cargo deps upgraded$(RESET)"
290290

291+
.PHONY: docs
291292
docs: DOCS_PATH = target/doc/music_comp_mt
292293
docs:
293294
@RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps --all-features

0 commit comments

Comments
 (0)