Skip to content

Commit

Permalink
docs: Tweak readme
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Feb 6, 2025
1 parent 9ead6e4 commit 6602a8f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ integration.
## Usage

<details>
<summary>Click to show a complete list of options</summary>
<summary>Complete list of options (click to show)</summary>

<!-- readme-long-help:start -->
```console
Expand Down Expand Up @@ -482,13 +482,14 @@ You can download prebuilt binaries from the [Release page](https://github.com/ta
Prebuilt binaries are available for macOS, Linux (gnu and musl), Windows (static executable), FreeBSD, and illumos.

<details>
<summary>Example of script to download cargo-hack</summary>
<summary>Example of script to install from the Release page (click to show)</summary>

```sh
# Get host target
host=$(rustc -vV | grep '^host:' | cut -d' ' -f2)
# Download binary and install to $HOME/.cargo/bin
curl --proto '=https' --tlsv1.2 -fsSL https://github.com/taiki-e/cargo-hack/releases/latest/download/cargo-hack-$host.tar.gz | tar xzf - -C "$HOME/.cargo/bin"
curl --proto '=https' --tlsv1.2 -fsSL "https://github.com/taiki-e/cargo-hack/releases/latest/download/cargo-hack-$host.tar.gz" \
| tar xzf - -C "$HOME/.cargo/bin"
```

</details>
Expand Down

0 comments on commit 6602a8f

Please sign in to comment.