Skip to content

Commit

Permalink
Add scoop support
Browse files Browse the repository at this point in the history
  • Loading branch information
bbkane committed Aug 10, 2022
1 parent 91a23ca commit 69268ac
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ before:
- go mod download
# you may remove this if you don't need go generate
# - go generate ./...

builds:
- env:
- CGO_ENABLED=0
Expand All @@ -28,6 +29,7 @@ changelog:
exclude:
- "^docs:"
- "^test:"

# https://goreleaser.com/customization/homebrew/
brews:
- tap:
Expand All @@ -43,3 +45,14 @@ brews:
See https://www.macworld.com/article/3140183/how-to-install-an-app-in-macos-sierra-thats-not-signed-by-a-developer.html to work around that
homepage: "https://github.com/bbkane/fling"
description: "GNU Stow alternative for dotfiles"

# https://goreleaser.com/customization/scoop/
scoop:
bucket:
owner: bbkane
name: scoop-bucket
token: "{{ .Env.KEY_GITHUB_GORELEASER_TO_HOMEBREW_TAP }}"
description: "fling computes and creates/removes the minimal amount of symlinks needed in a directory to refer to files and directories in another directory, similar to GNU Stow. I use fling to manage my dotfiles"
homepage: "https://github.com/bbkane/fling"
license: MIT

9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ As a tradeoff, fling's codebase is simpler. fling compiles to a single binary an

## Install

- Homebrew: `brew install bbkane/tap/fling`
- [Homebrew](https://brew.sh/): `brew install bbkane/tap/fling`
- [Scoop](https://scoop.sh/):

```
scoop bucket add bbkane https://github.com/bbkane/scoop-bucket
scoop install bbkane/fling
```

- Download Mac/Linux executable: [GitHub releases](https://github.com/bbkane/fling/releases)
- Go: `go install go.bbkane.com/fling@latest`
- Build with [goreleaser](https://goreleaser.com/) after cloning: `goreleaser --snapshot --skip-publish --rm-dist`
Expand Down

0 comments on commit 69268ac

Please sign in to comment.