mirror of
https://github.com/ivabus/pantry
synced 2024-11-12 19:45:19 +03:00
scala-sbt.org
This commit is contained in:
parent
ff54f34026
commit
f1a13b9116
21
projects/scala-sbt.org/package.yml
Normal file
21
projects/scala-sbt.org/package.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/sbt/sbt/releases/download/v{{version}}/sbt-{{version}}.tgz
|
||||||
|
strip-components: 1
|
||||||
|
warnings:
|
||||||
|
- vendored
|
||||||
|
versions:
|
||||||
|
github: sbt/sbt
|
||||||
|
dependencies:
|
||||||
|
openjdk.org: '*'
|
||||||
|
build:
|
||||||
|
script:
|
||||||
|
- sed 's,/etc/sbt/,\$(pwd)/../etc/,g' bin/sbt > bin/sbt.tmp
|
||||||
|
- mv bin/sbt.tmp bin/sbt
|
||||||
|
- mkdir -p {{prefix}}/bin {{prefix}}/etc
|
||||||
|
- run: install sbt sbt-launch.jar {{prefix}}/bin/
|
||||||
|
working-directory: bin
|
||||||
|
provides:
|
||||||
|
- bin/sbt
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- sbt --sbt-create about | grep {{version}}
|
Loading…
Reference in a new issue