aboutsummaryrefslogtreecommitdiff
path: root/installer/install-metals.sh
blob: c6bdc2d61e6f41c164dfb6e776bdb26a654a451e (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

set -e

curl -Lo ./coursier https://git.io/coursier-cli
chmod +x ./coursier

version="0.8.0"
java -jar ./coursier bootstrap --ttl Inf "org.scalameta:metals_2.12:$version" -r "bintray:scalacenter/releases" -r "sonatype:public" -r "sonatype:snapshots" -o ./metals