From 6414f60b5243808af5cf774a1374ec11fdfa7136 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 1 Oct 2020 15:23:07 -0600 Subject: [PATCH 1/2] add Webi install instructions --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e242c9..1265cdc 100644 --- a/README.md +++ b/README.md @@ -93,9 +93,17 @@ watchexec requires Rust 1.38 or later. You can install it using cargo: $ brew install watchexec +### OS X with 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. +Available via Webi + + $ curl -sS https://webinstall.dev/watchexec/ | bash + +Or use the GitHub Releases tab to obtain the binary and place it in your `PATH`. PRs for packaging in unsupported distros are welcomed. #### Debian @@ -116,6 +124,10 @@ Available [using scoop](https://scoop.sh/): Or [chocolatey](https://chocolatey.org/packages/watchexec): #> choco install watchexec + +Or [Webi](https://webinstall.dev/watchexec): + + #> curl.exe -A MS https://webinstall.dev/watchexec | powershell Or just unzip the binary from the GitHub Releases. From f99a1a7a380d0d7320b20b3c5bf66c677f311c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Saparelli?= Date: Sat, 3 Oct 2020 21:44:43 +1300 Subject: [PATCH 2/2] Normalise install section --- README.md | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 1265cdc..ecee34f 100644 --- a/README.md +++ b/README.md @@ -83,27 +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 -### OS X with Webi +#### Webi $ curl -sS https://webinstall.dev/watchexec | bash ### Linux -Available via Webi - - $ curl -sS https://webinstall.dev/watchexec/ | bash - -Or use the GitHub Releases tab to obtain the binary and place it in your `PATH`. PRs for packaging in unsupported distros are welcomed. +PRs for packaging in unsupported distros are welcome. #### Debian @@ -115,21 +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 [Webi](https://webinstall.dev/watchexec): - #> curl.exe -A MS https://webinstall.dev/watchexec | powershell +#### Webi -Or just unzip the binary from the GitHub Releases. + #> curl.exe -A MS https://webinstall.dev/watchexec | powershell ## Shell completions @@ -137,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