From f1a13b9116ec4a0c0ee028d41936cc9b6af9e8b1 Mon Sep 17 00:00:00 2001 From: andrejrabcenko Date: Wed, 2 Aug 2023 22:21:48 +0300 Subject: [PATCH] scala-sbt.org --- projects/scala-sbt.org/package.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 projects/scala-sbt.org/package.yml diff --git a/projects/scala-sbt.org/package.yml b/projects/scala-sbt.org/package.yml new file mode 100644 index 00000000..d900f715 --- /dev/null +++ b/projects/scala-sbt.org/package.yml @@ -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}} \ No newline at end of file