Merge pull request #169 from coolaj86/patch-1

This commit is contained in:
Félix Saparelli 2020-10-03 21:45:27 +13:00 committed by GitHub
commit 35e39afb95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,19 +83,31 @@ Run `bundle install` when the `Gemfile` changes:
## Installation
### Cargo
### All platforms
watchexec requires Rust 1.38 or later. You can install it using cargo:
#### Cargo
Requires Rust 1.38 or later.
$ cargo install watchexec
### OS X with Homebrew
#### Pre-built
Use the GitHub Releases tab to obtain the tarball/zipfile appropriate for your platform and architecture, extract it, and place it in your `PATH`.
### macOS
#### Homebrew
$ brew install watchexec
#### Webi
$ curl -sS https://webinstall.dev/watchexec | bash
### Linux
For now, use the GitHub Releases tab to obtain the binary. PRs for packaging in unsupported distros are welcomed.
PRs for packaging in unsupported distros are welcome.
#### Debian
@ -107,17 +119,23 @@ Available in the **community** repository:
$ pacman -S watchexec
#### Webi
$ curl -sS https://webinstall.dev/watchexec/ | bash
### Windows
Available [using scoop](https://scoop.sh/):
#### Scoop
#> scoop install watchexec
Or [chocolatey](https://chocolatey.org/packages/watchexec):
#### Chocolatey
#> choco install watchexec
Or just unzip the binary from the GitHub Releases.
#### Webi
#> curl.exe -A MS https://webinstall.dev/watchexec | powershell
## Shell completions
@ -125,10 +143,6 @@ Currently available shell completions:
- zsh: `completions/zsh` should be installed to `/usr/share/zsh/site-functions/_watchexec`
## Building
Rust 1.38 or later is required.
## Credits
* [notify](https://github.com/passcod/notify) for doing most of the heavy-lifting