File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .PHONY : install compile setup clean help
2+
3+ # Default target
4+ all : setup compile
5+
6+ # Install the githubnext/gh-aw extension
7+ install :
8+ @echo " Installing githubnext/gh-aw extension..."
9+ gh extension install githubnext/gh-aw
10+
11+ # Run gh aw compile
12+ compile :
13+ @echo " Running gh aw compile..."
14+ gh aw compile
15+ gh aw compile --workflows-dir workflows
16+
17+ # Setup: install extension and compile
18+ setup : install compile
19+ @echo " Setup complete!"
20+
21+ # Clean up (uninstall extension if needed)
22+ clean :
23+ @echo " Uninstalling githubnext/gh-aw extension..."
24+ gh extension remove githubnext/gh-aw || true
25+
26+ # Show help
27+ help :
28+ @echo " Available targets:"
29+ @echo " install - Install the githubnext/gh-aw extension"
30+ @echo " compile - Run gh aw compile"
31+ @echo " setup - Install extension and compile (default)"
32+ @echo " clean - Uninstall the extension"
33+ @echo " help - Show this help message"
You can’t perform that action at this time.
0 commit comments