File tree Expand file tree Collapse file tree 2 files changed +402
-0
lines changed
Expand file tree Collapse file tree 2 files changed +402
-0
lines changed Original file line number Diff line number Diff line change 1+ # ObjectDocs Development Tasks
2+ # Run with: make <target> or pnpm run <script>
3+
4+ .PHONY : help install dev build test test-quick test-full clean
5+
6+ # Default target
7+ help :
8+ @echo " ObjectDocs Development Tasks"
9+ @echo " "
10+ @echo " Available targets:"
11+ @echo " install - Install all dependencies"
12+ @echo " dev - Start development server"
13+ @echo " build - Build the site"
14+ @echo " test - Run all tests"
15+ @echo " test-quick - Run quick build test"
16+ @echo " test-full - Run full lifecycle test"
17+ @echo " clean - Clean build artifacts"
18+ @echo " "
19+
20+ install :
21+ pnpm install
22+
23+ dev :
24+ pnpm dev
25+
26+ build :
27+ pnpm build
28+
29+ test : test-quick test-full
30+
31+ test-quick :
32+ @echo " Running quick build test..."
33+ bash test-quick.sh
34+
35+ test-full :
36+ @echo " Running full lifecycle test..."
37+ bash test-site.sh
38+
39+ clean :
40+ rm -rf node_modules
41+ rm -rf .next
42+ rm -rf content/.objectdocs
43+ rm -rf packages/* /node_modules
44+ rm -rf examples/* /node_modules
45+ find . -name " .next" -type d -exec rm -rf {} + 2> /dev/null || true
46+ find . -name " *.tsbuildinfo" -delete 2> /dev/null || true
You can’t perform that action at this time.
0 commit comments