-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
42 lines (37 loc) · 1.04 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
project_name: run
release:
prerelease: auto
before:
hooks:
- go mod tidy
builds:
- binary: bin/run
env:
- CGO_ENABLED=0
ldflags:
- -s -w
goos: [darwin, linux, windows]
changelog:
skip: true
brews:
- repository:
owner: jacobwgillespie
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: Jacob Gillespie
email: [email protected]
homepage: https://github.com/jacobwgillespie/run
description: Run is a tool for running package.json scripts
license: MIT
skip_upload: auto
install: |
bin.install "bin/run"
bash_comp = Utils.safe_popen_read("#{bin}/run", "--completion", "bash")
fish_comp = Utils.safe_popen_read("#{bin}/run", "--completion", "fish")
zsh_comp = Utils.safe_popen_read("#{bin}/run", "--completion", "zsh")
(bash_completion/"run").write bash_comp
(fish_completion/"run.fish").write fish_comp
(zsh_completion/"_run").write zsh_comp
test: |
system "#{bin}/run --help"