Skip to content

Commit

Permalink
Revisit how we document the install script (#51)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
  • Loading branch information
jviotti authored Jun 3, 2024
1 parent 808fdf0 commit 8db8e40
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,20 @@ Where `X.Y.Z` is replaced with the desired version. For example:
- run: jsonschema fmt path/to/schemas --check
```

### Using the install script helper

```sh
/bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/intelligence-ai/jsonschema/main/install -H "Cache-Control: no-cache, no-store, must-revalidate")"
```

### From GitHub Releases

We publish precompiled binaries for every supported platforms to [GitHub
Releases](https://github.com/Intelligence-AI/jsonschema/releases), including a
[continuous](https://github.com/Intelligence-AI/jsonschema/releases/tag/continuous)
that is updated on every commit from the main branch.

For convenience, we also provide a POSIX shell script capable of installing the
latest pre-built binaries, which you can run as follows:

```sh
/bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/intelligence-ai/jsonschema/main/install -H "Cache-Control: no-cache, no-store, must-revalidate")"
```

### Building from source

```sh
Expand Down

0 comments on commit 8db8e40

Please sign in to comment.