pantry/projects/crates.io/pushenv/package.yml
Jacob Heider f78ea50255 +pushenv
2024-05-27 15:31:53 -04:00

22 lines
453 B
YAML

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