generated from WillAbides/goproject-tmpl
-
Notifications
You must be signed in to change notification settings - Fork 6
/
bindown.yml
184 lines (184 loc) · 5.95 KB
/
bindown.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
systems:
- darwin/amd64
- linux/amd64
dependencies:
benchdiff:
template: benchdiff#benchdiff
vars:
version: 0.6.2
gobin:
template: origin#gobin
vars:
version: 0.0.14
golangci-lint:
template: origin#golangci-lint
vars:
version: 1.28.2
jq:
template: origin#jq
vars:
version: "1.6"
mockgen:
template: origin#mockgen
vars:
version: 1.5.0
shellcheck:
template: origin#shellcheck
vars:
version: 0.7.1
templates:
benchdiff#benchdiff:
url: https://github.com/WillAbides/benchdiff/releases/download/v{{.version}}/benchdiff_{{.version}}_{{.os}}_{{.arch}}.tar.gz
required_vars:
- version
systems:
- darwin/amd64
- linux/386
- linux/amd64
origin#gobin:
url: https://github.com/myitcv/gobin/releases/download/v{{.version}}/{{.os}}-{{.arch}}
archive_path: '{{.os}}-{{.arch}}'
bin: gobin
required_vars:
- version
systems:
- darwin/386
- darwin/amd64
- freebsd/386
- freebsd/amd64
- freebsd/arm
- linux/386
- linux/amd64
- linux/arm
- netbsd/386
- netbsd/amd64
- netbsd/arm
- openbsd/386
- openbsd/amd64
- windows/386
- windows/amd64
origin#golangci-lint:
url: https://github.com/golangci/golangci-lint/releases/download/v{{.version}}/golangci-lint-{{.version}}-{{.os}}-{{.arch}}{{.urlsuffix}}
archive_path: golangci-lint-{{.version}}-{{.os}}-{{.arch}}/golangci-lint{{.archivepathsuffix}}
bin: golangci-lint
link: true
vars:
archivepathsuffix: ""
urlsuffix: .tar.gz
required_vars:
- version
overrides:
- matcher:
os:
- windows
dependency:
vars:
archivepathsuffix: .exe
urlsuffix: .zip
systems:
- darwin/386
- darwin/amd64
- linux/386
- linux/amd64
- linux/arm64
- windows/386
- windows/amd64
- freebsd/386
- freebsd/amd64
- linux/mips64
- linux/mips64le
- linux/s390x
- linux/ppc64le
origin#jq:
url: https://github.com/stedolan/jq/releases/download/jq-{{.version}}/jq-{{.os}}{{.arch}}{{.extension}}
archive_path: jq-{{.os}}{{.arch}}{{.extension}}
bin: jq
vars:
extension: ""
required_vars:
- version
overrides:
- matcher:
os:
- darwin
arch:
- amd64
dependency:
url: https://github.com/stedolan/jq/releases/download/jq-1.6/jq-osx-amd64
archive_path: jq-osx-amd64
- matcher:
os:
- windows
dependency:
vars:
extension: .exe
substitutions:
arch:
"386": "32"
amd64: "64"
os:
windows: win
systems:
- linux/386
- linux/amd64
- darwin/amd64
- windows/386
- windows/amd64
origin#mockgen:
url: https://github.com/golang/mock/releases/download/v{{.version}}/mock_{{.version}}_{{.os}}_{{.arch}}.tar.gz
archive_path: mock_{{.version}}_{{.os}}_{{.arch}}/mockgen{{.archivepathsuffix}}
bin: mockgen
vars:
archivepathsuffix: ""
required_vars:
- version
overrides:
- matcher:
os:
- windows
dependency:
vars:
archivepathsuffix: .exe
systems:
- darwin/386
- darwin/amd64
- linux/386
- linux/amd64
- windows/386
- windows/amd64
origin#shellcheck:
url: https://github.com/koalaman/shellcheck/releases/download/v{{.version}}/shellcheck-v{{.version}}.{{.os}}.{{.arch}}.tar.xz
archive_path: shellcheck-v{{.version}}/shellcheck
bin: shellcheck
required_vars:
- version
overrides:
- matcher:
os:
- windows
dependency:
url: https://github.com/koalaman/shellcheck/releases/download/v{{.version}}/shellcheck-v{{.version}}.zip
archive_path: shellcheck-v{{.version}}.exe
substitutions:
arch:
amd64: x86_64
systems:
- darwin/amd64
- linux/amd64
- windows/amd64
template_sources:
benchdiff: https://raw.githubusercontent.com/WillAbides/benchdiff/main/bindown.yml
origin: https://raw.githubusercontent.com/WillAbides/bindown-templates/master/bindown.yml
url_checksums:
https://github.com/WillAbides/benchdiff/releases/download/v0.6.2/benchdiff_0.6.2_darwin_amd64.tar.gz: 240c33329a304cc3f20238bdb2d4aed1b182cf540fd53402ac6aa6d421b08faf
https://github.com/WillAbides/benchdiff/releases/download/v0.6.2/benchdiff_0.6.2_linux_amd64.tar.gz: b5e10486be1c07f3dc54a3cfbfa794922830dda55974ed137c7c6f9cf91e8e8e
https://github.com/golang/mock/releases/download/v1.5.0/mock_1.5.0_darwin_amd64.tar.gz: d644549b478340f5346fd58c945ed74fb969d2ca1c85e28735f07aa8dbd5a572
https://github.com/golang/mock/releases/download/v1.5.0/mock_1.5.0_linux_amd64.tar.gz: 33980a05fc892b89b83c3c430bf7a98566bdb16304b20e7aba1ebf570296acb5
https://github.com/golangci/golangci-lint/releases/download/v1.28.2/golangci-lint-1.28.2-darwin-amd64.tar.gz: 6e6952a4d72906f6265c379743f274b7609a289cc9cbb19bf6ff94e6f8f00daf
https://github.com/golangci/golangci-lint/releases/download/v1.28.2/golangci-lint-1.28.2-linux-amd64.tar.gz: c893b07dd7d2c8e13b6380dd52781bb6732f7f541d90da2dc941be5f7e8be6fb
https://github.com/koalaman/shellcheck/releases/download/v0.7.1/shellcheck-v0.7.1.darwin.x86_64.tar.xz: b080c3b659f7286e27004aa33759664d91e15ef2498ac709a452445d47e3ac23
https://github.com/koalaman/shellcheck/releases/download/v0.7.1/shellcheck-v0.7.1.linux.x86_64.tar.xz: 64f17152d96d7ec261ad3086ed42d18232fcb65148b44571b564d688269d36c8
https://github.com/myitcv/gobin/releases/download/v0.0.14/darwin-amd64: 08db3d50eea308b475d591d43efc160c7c44f4666da4f2fd103864a9d038b230
https://github.com/myitcv/gobin/releases/download/v0.0.14/linux-amd64: 5bc800e8be7eaefcb86780786c38b75243082685a17ceea3c2235e06b8259151
https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64: af986793a515d500ab2d35f8d2aecd656e764504b789b66d7e1a0b727a124c44
https://github.com/stedolan/jq/releases/download/jq-1.6/jq-osx-amd64: 5c0a0a3ea600f302ee458b30317425dd9632d1ad8882259fcaf4e9b868b2b1ef