Skip to content

Commit bc64ce6

Browse files
committed
Fix copy-paste installation instructions on the website
1 parent d27e239 commit bc64ce6

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.github/workflows/mdoc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v2
1111
- uses: olafurpg/setup-scala@v10
12+
- run: git fetch --tags
1213
- run: sbt docs/docusaurusPublishGhpages
1314
env:
1415
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}

docs/getting-started.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ it's been downloaded.
2525

2626
```sh
2727
# macOS
28-
curl -Lo lsif-java https://github.com/sourcegraph/lsif-java/releases/download/@STABLE_VERSION@/lsif-java-x86_64-apple-darwin
29-
chmod +x lsif-java
30-
./lsif-java --help
28+
curl -Lo lsif-java https://github.com/sourcegraph/lsif-java/releases/download/@STABLE_VERSION@/lsif-java-x86_64-apple-darwin \
29+
&& chmod +x lsif-java \
30+
&& ./lsif-java --help
3131

3232
# Linux
33-
curl -Lo lsif-java https://github.com/sourcegraph/lsif-java/releases/download/@STABLE_VERSION@/lsif-java-x86_64-pc-linux
34-
chmod +x lsif-java
35-
./lsif-java --help
33+
curl -Lo lsif-java https://github.com/sourcegraph/lsif-java/releases/download/@STABLE_VERSION@/lsif-java-x86_64-pc-linux \
34+
&& chmod +x lsif-java \
35+
&& ./lsif-java --help
3636
```
3737

3838
### Java launcher
@@ -43,13 +43,13 @@ the `launch` command, and they're cached for subsequent runs.
4343

4444
```sh
4545
# Homebrew
46-
brew install coursier/formulas/coursier
47-
coursier launch com.sourcegraph:lsif-java_2.13:@STABLE_VERSION@ -- --help
46+
brew install coursier/formulas/coursier \
47+
&& coursier launch com.sourcegraph:lsif-java_2.13:@STABLE_VERSION@ -- --help
4848

4949
# macOS/Linux
50-
curl -fLo coursier https://git.io/coursier-cli
51-
chmod +x coursier
52-
./coursier launch com.sourcegraph:lsif-java_2.13:@STABLE_VERSION@ -- --help
50+
curl -fLo coursier https://git.io/coursier-cli \
51+
&& chmod +x coursier \
52+
&& ./coursier launch com.sourcegraph:lsif-java_2.13:@STABLE_VERSION@ -- --help
5353

5454
# Windows
5555
bitsadmin /transfer downloadCoursierCli https://git.io/coursier-cli "%cd%\coursier"

0 commit comments

Comments
 (0)