mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+pushenv
This commit is contained in:
parent
114a41f955
commit
f78ea50255
21
projects/crates.io/pushenv/package.yml
Normal file
21
projects/crates.io/pushenv/package.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
distributable:
|
||||
url: https://github.com/JensGM/pushenv/archive/refs/tags/{{ version.tag }}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
provides:
|
||||
- bin/pushenv
|
||||
|
||||
versions:
|
||||
github: JensGM/pushenv
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
rust-lang.org: '>=1.56'
|
||||
rust-lang.org/cargo: '*'
|
||||
script: cargo install --locked --path . --root {{prefix}}
|
||||
|
||||
test:
|
||||
- run: test "$(pushenv $FIXTURE -- sh -c 'echo $FOO')" = "bar"
|
||||
fixture:
|
||||
extname: .env
|
||||
content: FOO=bar
|
Loading…
Reference in a new issue