-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (22 loc) · 750 Bytes
/
Copy pathMakefile
File metadata and controls
25 lines (22 loc) · 750 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
default: list
list:
@echo "Available targets:"
@grep -E '^[a-zA-Z0-9_-]+:' $(MAKEFILE_LIST) \
| grep -v '^\.' \
| awk -F':' '{print $$1}' \
| grep -v -e 'default' \
| sort \
| uniq \
| awk '{printf "\033[36m%-30s\033[0m\n", $$1}'
install-opencode:
@if [ -f opencode/opencode.json ]; then \
echo "Installing opencode config..."; \
cp opencode/opencode.json ~/.config/opencode/opencode.json; \
echo "Opencode config installed successfully!"; \
fi
@echo "Installing opencode agents..."
@cp -R opencode/agents/ ~/.config/opencode/agents/
@echo "Opencode agents installed successfully!"
@echo "Installing opencode skills..."
@cp -R opencode/skills/ ~/.config/opencode/skills/
@echo "Opencode skills installed successfully!"