Files
wiki-print/Makefile
T
2026-11-13 11:50:48 +01:00

24 lines
355 B
Makefile

.PHONY: build up down logs test cli
build:
./scripts/build.sh
up:
./scripts/up.sh
down:
./scripts/down.sh
logs:
./scripts/logs.sh
test:
./scripts/test.sh
cli:
@if [ -z "$$WIKI_URL" ] || [ -z "$$WIKI_API_KEY" ] || [ -z "$$WIKI_START_PAGE" ]; then \
echo "Set WIKI_URL, WIKI_API_KEY and WIKI_START_PAGE first."; \
exit 2; \
fi
npm run cli