-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.goreleaser.yml
More file actions
41 lines (38 loc) · 986 Bytes
/
.goreleaser.yml
File metadata and controls
41 lines (38 loc) · 986 Bytes
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
version: 2
builds:
- binary: aurl
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
ldflags:
- -s -w
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- docs/aurl.1
- docs/completions/*
- LICENSE
- README.md
brews:
- repository:
owner: ShawnPana
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
directory: Formula
description: "A command line tool for turning any API into a CLI command, supporting OpenAPI 3.0, OpenAPI 3.1, Swagger 2.0, and GraphQL"
license: MIT
install: |
bin.install "aurl"
man1.install "docs/aurl.1"
zsh_completion.install "docs/completions/aurl.zsh" => "_aurl"
bash_completion.install "docs/completions/aurl.bash" => "aurl"
fish_completion.install "docs/completions/aurl.fish"
test: |
assert_match "aurl", shell_output("#{bin}/aurl --help")