-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (28 loc) · 876 Bytes
/
Makefile
File metadata and controls
34 lines (28 loc) · 876 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
.PHONY: install compile setup clean help
# Default target
all: setup compile
# Install the github/gh-aw extension
install:
@echo "Installing github/gh-aw extension..."
gh extension install github/gh-aw
gh extension upgrade github/gh-aw
# Run gh aw compile
compile:
@echo "Running gh aw compile..."
gh aw compile
gh aw compile --dir workflows
# Setup: install extension and compile
setup: install compile
@echo "Setup complete!"
# Clean up (uninstall extension if needed)
clean:
@echo "Uninstalling github/gh-aw extension..."
gh extension remove github/gh-aw || true
# Show help
help:
@echo "Available targets:"
@echo " install - Install the github/gh-aw extension"
@echo " compile - Run gh aw compile"
@echo " setup - Install extension and compile (default)"
@echo " clean - Uninstall the extension"
@echo " help - Show this help message"