diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index de57039ab..d3e6cb4da 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,10 +48,12 @@ Now [install Go](https://golang.org/doc/install) and verify your installation: Great, you can now compile and execute your own version of rclone: - go build + go build ./rclone version -Finally make a branch to add your new feature +(Note that you can also replace `go build` with `make`, which will include a +more accurate version number in the executable as well as enable you to specify +more build options.) Finally make a branch to add your new feature git checkout -b my-new-feature diff --git a/docs/content/install.md b/docs/content/install.md index 1877f0f26..bfffe49c1 100644 --- a/docs/content/install.md +++ b/docs/content/install.md @@ -63,6 +63,11 @@ Run `rclone config` to setup. See [rclone config docs](/docs/) for more details. brew install rclone +NOTE: This version of rclone will not support `mount` any more (see +[#5373](https://github.com/rclone/rclone/issues/5373)). If mounting is wanted +on macOS, either install a precompiled binary or enable the relevant option +when [installing from source](#install-from-source). + ## macOS installation from precompiled binary, using curl ## To avoid problems with macOS gatekeeper enforcing the binary to be signed and @@ -189,10 +194,13 @@ Make sure you have at least [Go](https://golang.org/) go1.14 installed. [Download go](https://golang.org/dl/) if necessary. The latest release is recommended. Then - git clone https://github.com/rclone/rclone.git - cd rclone - go build - ./rclone version +```sh +git clone https://github.com/rclone/rclone.git +cd rclone +go build +# If on macOS and mount is wanted, instead run: make GOTAGS=cmount +./rclone version +``` This will leave you a checked out version of rclone you can modify and send pull requests with. If you use `make` instead of `go build` then