Skip to content

Commit

Permalink
Jsonnet Bundler via brew (#405)
Browse files Browse the repository at this point in the history
This updates the docs to install jb in the same way tanka is instealled:
via brew on macOS.
  • Loading branch information
genebean committed Oct 24, 2020
1 parent 111cbd5 commit 321f9a8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ to share and reuse code across the internet, similar to `npm` or `go mod`.

Tanka uses this tool by default, so it's recommended to install it as well:

<PlatformInstall elems={Jb} def="Binary" />
<PlatformInstall elems={Jb} def="macOS" />
4 changes: 3 additions & 1 deletion docs/src/components/install/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Arch from "./tk/arch.mdx"
import Go from "./tk/go.mdx"
import Binary from "./tk/binary.mdx"

import JbOsx from "./jb/osx.mdx"
import JbArch from "./jb/arch.mdx"
import JbGo from "./jb/go.mdx"
import JbBinary from "./jb/binary.mdx"
Expand All @@ -17,8 +18,9 @@ export const Tanka = {
}

export const Jb = {
Binary: <JbBinary />,
macOS: <JbOsx />,
ArchLinux: <JbArch />,
Binary: <JbBinary />,
Go: <JbGo />,
}

Expand Down
8 changes: 8 additions & 0 deletions docs/src/components/install/jb/osx.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
On macOS, Jsonnet Bundler is best installed using [`brew`](https://brew.sh):

```bash
$ brew install jsonnet-bundler
```

This downloads the most recent version of Jsonnet Bundler and installs it.
Also, Jsonnet Bundler is automatically kept up to date as part of `brew upgrade`.

0 comments on commit 321f9a8

Please sign in to comment.