mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
new file: projects/nixpacks.com/package.yml
This commit is contained in:
parent
acac80c003
commit
ae500994d5
1 changed files with 25 additions and 0 deletions
25
projects/nixpacks.com/package.yml
Normal file
25
projects/nixpacks.com/package.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
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}}
|
Loading…
Reference in a new issue