-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
46 lines (37 loc) · 1.04 KB
/
Makefile
File metadata and controls
46 lines (37 loc) · 1.04 KB
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
37
38
39
40
41
42
43
44
45
46
# ObjectDocs Development Tasks
# Run with: make <target> or pnpm run <script>
.PHONY: help install dev build test test-quick test-full clean
# Default target
help:
@echo "ObjectDocs Development Tasks"
@echo ""
@echo "Available targets:"
@echo " install - Install all dependencies"
@echo " dev - Start development server"
@echo " build - Build the site"
@echo " test - Run all tests"
@echo " test-quick - Run quick build test"
@echo " test-full - Run full lifecycle test"
@echo " clean - Clean build artifacts"
@echo ""
install:
pnpm install
dev:
pnpm dev
build:
pnpm build
test: test-quick test-full
test-quick:
@echo "Running quick build test..."
bash test-quick.sh
test-full:
@echo "Running full lifecycle test..."
bash test-site.sh
clean:
rm -rf node_modules
rm -rf .next
rm -rf content/.fumadocs
rm -rf packages/*/node_modules
rm -rf examples/*/node_modules
find . -name ".next" -type d -exec rm -rf {} + 2>/dev/null || true
find . -name "*.tsbuildinfo" -delete 2>/dev/null || true