From cba650193d9abac5ef5b036de83b54bf165daad7 Mon Sep 17 00:00:00 2001 From: meyermarcel Date: Sun, 12 May 2019 16:54:03 +0200 Subject: [PATCH] Add publishing to scoop bucket (#130) --- README.md | 22 +++++++++++++++------- goreleaser.yml | 8 ++++++++ 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index ecbd9401..9a0dd7e4 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,21 @@ $ curl https://getcroc.schollz.com | bash ``` +On macOS you can install the latest release with [Homebrew](https://brew.sh/): + +``` +$ brew install schollz/tap/croc +``` + + +On Windows you can install the latest release with [Scoop](https://scoop.sh/): + +``` +$ scoop bucket add schollz-bucket https://github.com/schollz/scoop-bucket.git +$ scoop install croc +``` + + Or, you can [install Go](https://golang.org/dl/) and build from source (requires Go 1.11+): ``` @@ -42,13 +57,6 @@ $ go get -v github.com/schollz/croc/v6 ``` -Or, on macOS you can install the latest release with [Homebrew](https://brew.sh/): - -``` -$ brew install schollz/tap/croc -``` - - ## Usage diff --git a/goreleaser.yml b/goreleaser.yml index 7657fdd8..e3788379 100644 --- a/goreleaser.yml +++ b/goreleaser.yml @@ -76,3 +76,11 @@ brew: test: | system "#{bin}/croc --version" + +scoop: + bucket: + owner: schollz + name: scoop-bucket + homepage: "https://schollz.com/software/croc/" + description: "croc is a tool that allows any two computers to simply and securely transfer files and folders." + license: MIT \ No newline at end of file