Skip to content

Commit 9586b5f

Browse files
committed
Add Makefile for managing githubnext/gh-aw extension installation and compilation
1 parent 61a7633 commit 9586b5f

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

Makefile

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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"

0 commit comments

Comments
 (0)