Skip to content

Commit

Permalink
[skip travis] update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
A.A.Abroskin committed Feb 14, 2019
1 parent d523f0f commit b91f38a
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@

tmp/
dist/
.goreleaser.yml
67 changes: 67 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
before:
hooks:
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
archive:
replacements:
windows: Windows
darwin: MacOS
linux: Linux
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^spec:'
- '^tmp:'
- '^context:'

brew:
github:
owner: Arkweid
name: homebrew-hookah
homepage: "https://github.com/Arkweid/hookah"
description: "Simple git hooks manager"
folder: Formula
test: |
system "#{bin}/hookah -v"
snapcraft:
name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
summary: For rule your git hooks
description: |
Simple git hooks manager.
grade: stable
confinement: strict
publish: true

nfpm:
name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
homepage: https://github.com/Arkweid/hookah
description: Simple git hooks manager
maintainer: Alexander Abroskin <[email protected]>
license: MIT
vendor: Arkweid
formats:
- deb
- rpm
dependencies:
- git
recommends:
- rpm
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ Add Hookah to your system or build it from sources.
go get github.com/Arkweid/hookah
```

You can install it from snap:
### snap
```bash
sudo snap install --devmode hookah
```

### brew
```bash
brew install Arkweid/hookah/hookah
```

Or take it from [binaries](https://github.com/Arkweid/hookah/releases) and install manualy

## Scenarios
Expand Down

0 comments on commit b91f38a

Please sign in to comment.