Skip to content

Commit

Permalink
Merge fdd8d78 into 62a5473
Browse files Browse the repository at this point in the history
  • Loading branch information
benfdking authored Oct 4, 2024
2 parents 62a5473 + fdd8d78 commit dfebe5b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ Open the [playground](https://playground.quary.dev) to try out the linter and fo

### Installation

#### Cargo

You can install the tool locally with `cargo`.

```bash
cargo install sqruff #compiles locally
cargo binstall sqruff #downloads prebuilt binary
```

#### macOS

You can use [brew](https://brew.sh/) to install sqruff easily on macOS.
Expand Down
5 changes: 5 additions & 0 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ license.workspace = true
default-run = "sqruff"
rust-version = "1.81.0"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/sqruff-{ target }{ archive-suffix }"
pkg-fmt = "tgz"
bin-dir = "sqruff{ binary-ext }"

[lints]
workspace = true

Expand Down
9 changes: 9 additions & 0 deletions editors/code/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ Open the [playground](https://playground.quary.dev) to try out the linter and fo

### Installation

#### Cargo

You can install the tool locally with `cargo`.

```bash
cargo install sqruff #compiles locally
cargo binstall sqruff #downloads prebuilt binary
```

#### macOS

You can use [brew](https://brew.sh/) to install sqruff easily on macOS.
Expand Down

0 comments on commit dfebe5b

Please sign in to comment.