mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
25 lines
514 B
YAML
25 lines
514 B
YAML
|
distributable:
|
||
|
url: git+https://github.com/railwayapp/nixpacks.git
|
||
|
ref: ${{version.tag}}
|
||
|
|
||
|
versions:
|
||
|
github: railwayapp/nixpacks
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
rust-lang.org: ^1.65
|
||
|
rust-lang.org/cargo: '*'
|
||
|
script:
|
||
|
- cargo install $ARGS
|
||
|
env:
|
||
|
ARGS:
|
||
|
- --root={{prefix}}
|
||
|
- --path=.
|
||
|
|
||
|
provides:
|
||
|
- bin/nixpacks
|
||
|
|
||
|
test:
|
||
|
- nixpacks build $PWD --name test > out.log || true
|
||
|
- cat out.log | grep 'Nixpacks was unable to generate a build plan for this app'
|
||
|
- nixpacks -V | grep {{version}}
|