Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+scala-lang.org #7360

Merged
merged 4 commits into from
Sep 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions projects/scala-lang.org/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# vendored
# distributable:
# url: https://github.com/scala/scala3/archive/refs/tags/{{ version.tag }}.tar.gz
# strip-components: 1

warnings:
- vendored

interpretes:
extensions: scala
args: scala

provides:
- bin/scalac
- bin/scala
- bin/scala-cli
- bin/sbtn
- bin/amm
- scalafmt

versions:
github: scala/scala3

dependencies:
openjdk.org: '*'

build:
dependencies:
curl.se: '*'
script:
- curl -fLo coursier https://github.com/coursier/launchers/raw/master/coursier
- chmod +x coursier
- ./coursier setup --yes --install-dir {{prefix}}/bin
- ./coursier install scala:{{version}} scalac:{{version}} --install-dir {{prefix}}/bin
- ./coursier install scala-cli sbtn scalafmt --install-dir {{prefix}}/bin

test: scalac -version | grep {{version}}
Loading