From b91f38a06ef64e320005713cc2a1d7f6cd5f163c Mon Sep 17 00:00:00 2001 From: "A.A.Abroskin" Date: Thu, 14 Feb 2019 13:08:34 +0300 Subject: [PATCH] [skip travis] update README.md --- .gitignore | 1 - .goreleaser.yml | 67 +++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 7 +++++- 3 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 .goreleaser.yml diff --git a/.gitignore b/.gitignore index 70a4720b..733f6a0e 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,3 @@ tmp/ dist/ -.goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 00000000..b1b279fd --- /dev/null +++ b/.goreleaser.yml @@ -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 + license: MIT + vendor: Arkweid + formats: + - deb + - rpm + dependencies: + - git + recommends: + - rpm diff --git a/README.md b/README.md index a93760db..f84b6dcb 100644 --- a/README.md +++ b/README.md @@ -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