Skip to content

Commit 090c7a5

Browse files
authored
Merge pull request #30723 from pavelzw/crush
Add crush
2 parents d619f7a + 16ed579 commit 090c7a5

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

recipes/crush/recipe.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
context:
2+
name: crush
3+
version: "0.2.1"
4+
5+
package:
6+
name: ${{ name|lower }}
7+
version: ${{ version }}
8+
9+
source:
10+
url: https://github.com/charmbracelet/${{ name }}/archive/refs/tags/v${{ version }}.tar.gz
11+
sha256: c1f24b8334abc114f0ff4f08a59fa50a52972cd18c23b7eddd1eaa4b044ea390
12+
target_directory: src
13+
14+
build:
15+
number: 0
16+
script:
17+
- cd src
18+
- go-licenses save . --save_path ../library_licenses
19+
- if: unix
20+
then: go build -v -o $PREFIX/bin/crush -ldflags="-s -w"
21+
else: go build -v -o %LIBRARY_BIN%\crush.exe -ldflags="-s"
22+
23+
requirements:
24+
build:
25+
- ${{ compiler("go-nocgo") }}
26+
- go-licenses
27+
28+
tests:
29+
- script: crush --help
30+
- package_contents:
31+
bin:
32+
- crush
33+
strict: true
34+
35+
about:
36+
homepage: https://github.com/charmbracelet/crush
37+
summary: The glamourous AI coding agent for your favourite terminal 💘
38+
description: |
39+
Your new coding bestie, now available in your favourite terminal.
40+
Your tools, your code, and your workflows, wired into your LLM of choice.
41+
license: FSL-1.1-MIT AND MIT
42+
license_file:
43+
- src/LICENSE
44+
- library_licenses/
45+
documentation: https://pkg.go.dev/github.com/charmbracelet/crush
46+
repository: https://github.com/charmbracelet/crush
47+
48+
extra:
49+
recipe-maintainers:
50+
- pavelzw

0 commit comments

Comments
 (0)