mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/jbang.dev/package.yml
This commit is contained in:
parent
793ca61354
commit
8e83672d20
1 changed files with 21 additions and 0 deletions
21
projects/jbang.dev/package.yml
Normal file
21
projects/jbang.dev/package.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
distributable:
|
||||
url: https://github.com/jbangdev/jbang/releases/download/v{{version}}/jbang-{{version}}.zip
|
||||
strip-components: 1
|
||||
versions:
|
||||
github: jbangdev/jbang
|
||||
dependencies:
|
||||
openjdk.org: '*'
|
||||
build:
|
||||
script:
|
||||
- run: mkdir -p bin libexec
|
||||
working-directory: "{{prefix}}"
|
||||
- cp -r ./jbang-{{version}}/* {{prefix}}/libexec/
|
||||
- run: ln -s ../libexec/bin/jbang jbang
|
||||
working-directory: "{{prefix}}/bin"
|
||||
provides:
|
||||
- bin/jbang
|
||||
test:
|
||||
script:
|
||||
- jbang init --template=cli hello.java
|
||||
- cat hello.java | grep "hello made with jbang"
|
||||
- jbang --version 2>&1 | grep {{version}}
|
Loading…
Reference in a new issue