Skip to content

Commit

Permalink
Add Windows installation via scoop
Browse files Browse the repository at this point in the history
  • Loading branch information
caitlinelfring committed Oct 24, 2020
1 parent 50dc88b commit 1e1cb78
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
27 changes: 25 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com

before:
hooks:
# You may remove this if you don't use go modules.
- go mod download

builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- "amd64"
- "386"
ldflags: -s -w -X github.com/get-woke/woke/cmd.Version={{.Version}} -X github.com/get-woke/woke/cmd.Commit={{.ShortCommit}} -X github.com/get-woke/woke/cmd.Date={{.Date}}

archives:
Expand All @@ -29,6 +33,7 @@ snapshot:

checksum:
name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'

changelog:
sort: asc
filters:
Expand Down Expand Up @@ -58,6 +63,24 @@ brews:
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
folder: Formula
homepage: https://getwoke.tech
description: A text file analysis tool that detects non-inclusive language in your source code.
description: Detect non-inclusive language in your source code.
test: |
system "#{bin}/woke --version"
scoop:
bucket:
owner: get-woke
name: scoop-bucket
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"

# The project name and current git tag are used in the format string.
commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"

homepage: https://getwoke.tech
description: Detect non-inclusive language in your source code.
license: MIT

# Persist data between application updates
# persist:
# - "data"
# - "config.toml"
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Companies like [GitHub](https://github.com/github/renaming), [Twitter](https://t

- [Installation](#installation)
- [macOS](#macos)
- [Windows](#windows)
- [Simple installation](#simple-installation)
- [Build from source](#build-from-source)
- [Releases](#releases)
Expand Down Expand Up @@ -75,6 +76,15 @@ brew install get-woke/tap/woke
brew upgrade get-woke/tap/woke
```

### Windows

You can install `woke` with [`scoop`](https://scoop.sh/)

```sh
scoop bucket add get-woke https://github.com/get-woke/scoop-bucket.git
scoop install get-woke/woke
```

### Simple installation

```bash
Expand Down

0 comments on commit 1e1cb78

Please sign in to comment.