Skip to content

Commit ee7c474

Browse files
Correct check for make docs existing.
1 parent 12942e1 commit ee7c474

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

Makefile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ include scripts/init.mk
1212
# make config: Config - this assumes all system dependencies are already installed, eg asdf etc. This is fine for default dev containers
1313
# make dependencies: If using a clean environment, eg ubuntu native container, you must run make dependencies first to install system dependencies, before then running make config
1414

15-
quick-start: install clean test-docs build serve-docs # Quick start target to setup, build and serve docs @Pipeline
15+
quick-start: # Quick start target to setup, build and serve docs @Pipeline
16+
$(MAKE) install && \
17+
$(MAKE) clean && \
18+
$(MAKE) test-docs && \
19+
$(MAKE) build && \
20+
$(MAKE) serve-docs
1621

1722
install:
1823
./dependencies.sh --skip-system-deps
@@ -21,7 +26,11 @@ dependencies:
2126
./dependencies.sh
2227

2328
test-docs:
24-
$(MAKE) -C docs test || echo "Docs tests failed or not available"
29+
@if $(MAKE) -C docs -n test >/dev/null 2>&1; then \
30+
$(MAKE) -C docs test; \
31+
else \
32+
echo "⚠️⚠️ WARNING: Test docs target does not exist in docs/Makefile, skipping..."; \
33+
fi
2534

2635
build: # Build the project artefact @Pipeline
2736
$(MAKE) -C docs build

0 commit comments

Comments
 (0)