mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+pier
This commit is contained in:
parent
257eae615e
commit
a8c8f6398a
23
projects/crates.io/pier/package.yml
Normal file
23
projects/crates.io/pier/package.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
distributable:
|
||||
url: https://github.com/pier-cli/pier/archive/refs/tags/{{ version.tag }}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
provides:
|
||||
- bin/pier
|
||||
|
||||
versions:
|
||||
github: pier-cli/pier
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
rust-lang.org: '>=1.56'
|
||||
rust-lang.org/cargo: '*'
|
||||
script: cargo install --locked --path . --root {{prefix}}
|
||||
|
||||
test:
|
||||
- pier --help
|
||||
- test "$(pier --version)" = "pier {{version}}"
|
||||
- touch pier.toml
|
||||
- pier add "ls -la" --alias ls
|
||||
- cat pier.toml
|
||||
- pier run ls
|
Loading…
Reference in a new issue