Skip to content

Commit

Permalink
add recipe to test completions
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Feb 24, 2025
1 parent 2054b18 commit df5cd2f
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ platforms = ["osx-arm64", "linux-64", "win-64"]
version = "0.1.0"

[tasks]
build = "rattler-build build --recipe pixi-editor"
build = "rattler-build build --recipe-dir ./recipes"


[dependencies]
Expand Down
Binary file added recipes/pixi-editor/.DS_Store
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
25 changes: 25 additions & 0 deletions recipes/ripgrep-completions/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
context:
version: "14.1.1"

package:
name: ripgrep-completions
version: ${{ version }}

build:
number: 0
script:
# ZSH completions
- mkdir -p $PREFIX/share/zsh/site-functions
- rg --generate --complete-zsh > $PREFIX/share/zsh/site-functions/_rg
# Bash completions
- mkdir -p $PREFIX/share/bash-completion/completions
- rg --generate --complete-bash > $PREFIX/share/bash-completion/completions/rg
# Fish completions
- mkdir -p $PREFIX/share/fish/vendor_completions.d
- rg --generate --complete-fish > $PREFIX/share/fish/vendor_completions.d/rg.fish

requirements:
build:
- ripgrep ${{ version }}
run:
- ripgrep ${{ version }}

0 comments on commit df5cd2f

Please sign in to comment.