-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
103 lines (76 loc) · 2.96 KB
/
Makefile
File metadata and controls
103 lines (76 loc) · 2.96 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
.PHONY: build install test lint fmt fmt-check release release-patch release-minor release-major tag build-all setup install-hooks install-skill install-cursor install-opencode install-codex install-windsurf install-zed install-copilot install-cline install-amp install-amazonq install-continue install-aider install-all
setup: install-hooks
build:
cargo build --manifest-path cli/Cargo.toml
release:
cargo build --release --manifest-path cli/Cargo.toml
install:
cargo install --path cli/
test:
cargo test --manifest-path cli/Cargo.toml
lint:
cargo clippy --manifest-path cli/Cargo.toml -- -D warnings
fmt:
cargo fmt --manifest-path cli/Cargo.toml
fmt-check:
cargo fmt --manifest-path cli/Cargo.toml -- --check
build-all:
./scripts/build-all.sh
install-hooks:
git config core.hooksPath .githooks
@echo "Pre-push hook installed."
release-patch:
./scripts/release.sh patch
release-minor:
./scripts/release.sh minor
release-major:
./scripts/release.sh major
tag:
git tag -a v$(shell grep '^version' cli/Cargo.toml | head -1 | cut -d'"' -f2) \
-m "Release v$(shell grep '^version' cli/Cargo.toml | head -1 | cut -d'"' -f2)"
install-skill:
mkdir -p ~/.claude/skills/llmstrip
cp prompts/claude-code.md ~/.claude/skills/llmstrip/SKILL.md
@echo "Skill installed. Use /llmstrip in Claude Code."
install-cursor:
mkdir -p .cursor/rules
cp prompts/cursor.mdc .cursor/rules/llmstrip.mdc
@echo "Cursor rule installed at .cursor/rules/llmstrip.mdc"
install-opencode:
mkdir -p ~/.config/opencode
cp prompts/agents.md ~/.config/opencode/AGENTS.md
@echo "opencode: installed at ~/.config/opencode/AGENTS.md"
install-codex:
mkdir -p ~/.codex
cp prompts/agents.md ~/.codex/AGENTS.md
@echo "Codex CLI: installed at ~/.codex/AGENTS.md"
install-windsurf:
mkdir -p .windsurf/rules
cp prompts/agents.md .windsurf/rules/llmstrip.md
@echo "Windsurf: installed at .windsurf/rules/llmstrip.md"
install-zed:
cp prompts/agents.md .rules
@echo "Zed: installed at .rules"
install-copilot:
mkdir -p .github
cp prompts/agents.md .github/copilot-instructions.md
@echo "GitHub Copilot: installed at .github/copilot-instructions.md"
install-cline:
cp prompts/agents.md .clinerules
@echo "Cline: installed at .clinerules"
install-amp:
cp prompts/agents.md AGENTS.md
@echo "Amp (project-local): installed at AGENTS.md"
install-amazonq:
mkdir -p .amazonq/rules
cp prompts/agents.md .amazonq/rules/llmstrip.md
@echo "Amazon Q: installed at .amazonq/rules/llmstrip.md"
install-continue:
mkdir -p .continue/rules
cp prompts/agents.md .continue/rules/llmstrip.md
@echo "Continue.dev: installed at .continue/rules/llmstrip.md"
install-aider:
cp prompts/agents.md CONVENTIONS.md
@echo "Aider: installed at CONVENTIONS.md (add 'read: CONVENTIONS.md' to .aider.conf.yml)"
install-all: install-skill install-cursor install-opencode install-codex install-windsurf install-zed install-copilot install-cline install-amp install-amazonq install-continue install-aider
@echo "All integrations installed."