Skip to content

Fix setup instructions #2698

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

Merged
merged 3 commits into from
Feb 15, 2023
Merged
Show file tree
Hide file tree
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
6 changes: 4 additions & 2 deletions _data/setup-scala.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
linux: curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup
macOS-default: curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-apple-darwin.gz | gzip -d > cs && chmod +x cs && (xattr -d com.apple.quarantine cs || true) && ./cs setup
linux-x86-64: curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup
linux-arm64: curl -fL https://github.com/VirtusLab/coursier-m1/releases/latest/download/cs-aarch64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup
macOS-x86-64: curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-apple-darwin.gz | gzip -d > cs && chmod +x cs && (xattr -d com.apple.quarantine cs || true) && ./cs setup
macOS-arm64: curl -fL https://github.com/VirtusLab/coursier-m1/releases/latest/download/cs-aarch64-apple-darwin.gz | gzip -d > cs && chmod +x cs && (xattr -d com.apple.quarantine cs || true) && ./cs setup
macOS-brew: brew install coursier/formulas/coursier && cs setup
windows-link: https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-win32.zip
4 changes: 2 additions & 2 deletions _fr/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ Installez-le sur votre système avec les instructions suivantes.
{% tab macOS for=install-cs-setup-tabs %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-brew %}
{% altDetails cs-setup-macos-nobrew "Alternativement, si vous n'utilisez pas Homebrew:" %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-default %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-x86-64 %}
{% endaltDetails %}
{% endtab %}
<!-- end macOS -->

<!-- Linux -->
{% tab Linux for=install-cs-setup-tabs %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.linux %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.linux-x86-64 %}
{% endtab %}
<!-- end Linux -->

Expand Down
4 changes: 2 additions & 2 deletions _ja/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ Scala のインストーラーは[Coursier](https://get-coursier.io/docs/cli-ove
{% tab macOS for=install-cs-setup-tabs %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-brew %}
{% altDetails cs-setup-macos-nobrew "または、Homebrewを使用しない場合は" %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-default %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-x86-64 %}
{% endaltDetails %}
{% endtab %}
<!-- end macOS -->

<!-- Linux -->
{% tab Linux for=install-cs-setup-tabs %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.linux %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.linux-x86-64 %}
{% endtab %}
<!-- end Linux -->

Expand Down
15 changes: 11 additions & 4 deletions _overviews/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,23 @@ Install it on your system with the following instructions.
{% tab macOS for=install-cs-setup-tabs %}
Run the following command in your terminal, following the on-screen instructions:
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-brew %}
{% altDetails cs-setup-macos-nobrew "Alternatively, if you don't use Homebrew:" %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-default %}
{% altDetails cs-setup-macos-nobrew "Alternatively for Apple Silicon, or if you don't use Homebrew:" %}
On the Apple Silicon (M1, M2, …) architecture:
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-arm64 %}
Otherwise, on the x86-64 architecture:
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-x86-64 %}
{% endaltDetails %}
{% endtab %}
<!-- end macOS -->

<!-- Linux -->
{% tab Linux for=install-cs-setup-tabs %}
Run the following command in your terminal, following the on-screen instructions:
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.linux %}
Run the following command in your terminal, following the on-screen instructions.

On the x86-64 architecture:
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.linux-x86-64 %}
Otherwise, on the ARM64 architecture:
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.linux-arm64 %}
{% endtab %}
<!-- end Linux -->

Expand Down
4 changes: 2 additions & 2 deletions _ru/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ newcomer_resources:
Запустите в терминале следующую команду, следуя инструкциям на экране:
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-brew %}
{% altDetails cs-setup-macos-nobrew "В качестве альтернативы, если вы не используете Homebrew:" %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-default %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-x86-64 %}
{% endaltDetails %}
{% endtab %}
<!-- end macOS -->

<!-- Linux -->
{% tab Linux for=install-cs-setup-tabs %}
Запустите в терминале следующую команду, следуя инструкциям на экране:
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.linux %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.linux-x86-64 %}
{% endtab %}
<!-- end Linux -->

Expand Down
4 changes: 2 additions & 2 deletions _uk/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ _Scastie_ це онлайн “пісочниця”, де ви можете е
Виконайте наступну команду в терміналі, виконуючи всі спливаючі інструкції:
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-brew %}
{% altDetails cs-setup-macos-nobrew "Якщо ви не використовуєте Homebrew:" %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-default %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-x86-64 %}
{% endaltDetails %}
{% endtab %}
<!-- end macOS -->

<!-- Linux -->
{% tab Linux for=install-cs-setup-tabs %}
Виконайте наступну команду в терміналі, виконуючи всі спливаючі інструкції:
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.linux %}
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.linux-x86-64 %}
{% endtab %}
<!-- end Linux -->

Expand Down