Skip to content
Snippets Groups Projects
Commit 31997892 authored by Guillaume Martres's avatar Guillaume Martres
Browse files

tools-setup: don't use homebrew to install coursier

This is broken for some
people (https://github.com/coursier/coursier/issues/1946).

Fixes #46.
parent ba38bc7f
No related branches found
No related tags found
No related merge requests found
...@@ -20,10 +20,10 @@ and fill in [this table](https://docs.google.com/spreadsheets/d/12KvfD_jN5AcApmW ...@@ -20,10 +20,10 @@ and fill in [this table](https://docs.google.com/spreadsheets/d/12KvfD_jN5AcApmW
We will use coursier to install the correct version of We will use coursier to install the correct version of
Java as well as the sbt build tool: Java as well as the sbt build tool:
### On Linux ### On Linux and macOS
```shell ```shell
curl -fLo cs https://git.io/coursier-cli-linux curl -fLo cs https://git.io/coursier-cli-"$(uname | tr LD ld)"
``` ```
```shell ```shell
chmod +x cs chmod +x cs
...@@ -34,25 +34,6 @@ chmod +x cs ...@@ -34,25 +34,6 @@ chmod +x cs
Please reboot after this point. Please reboot after this point.
### On macOS
First, install the Homebrew package manager:
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
Use Homebrew to install coursier:
```scala
brew install coursier/formulas/coursier
```
```shell
[ -f ~/.bash_profile ] && sudo chmod 0666 ~/.bash_profile
```
```shell
cs setup -y --jvm 8 --apps sbt
```
Please close this terminal and open a new one after this point.
### On Windows ### On Windows
Download and install the [Visual C++ 2010 SP1 Redistributable Download and install the [Visual C++ 2010 SP1 Redistributable
...@@ -113,6 +94,14 @@ sudo apt update && sudo apt install git ...@@ -113,6 +94,14 @@ sudo apt update && sudo apt install git
### On macOS ### On macOS
First, install the Homebrew package manager:
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
Use Homebrew to install git:
```shell ```shell
brew install git brew install git
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment