-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (29 loc) · 809 Bytes
/
Makefile
File metadata and controls
36 lines (29 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Makefile for PCG Documentation
# Alternative to npm commands for those who prefer Make
.PHONY: help setup serve build clean test
# Default target - show help
help:
@echo "PCG Documentation Build System"
@echo ""
@echo "Available commands:"
@echo " make setup - Install all dependencies (mdbook, npm packages)"
@echo " make serve - Start development server with auto-reload"
@echo " make build - Build production site"
@echo " make clean - Remove generated files and dependencies"
@echo " make test - Run build to verify everything works"
@echo ""
# Install all dependencies
setup:
npm run setup
# Start development server
serve:
npm run serve
# Build for production
build:
npm run build
# Clean generated files
clean:
npm run clean
# Test that build works
test:
npm run test