Skip to content

Commit 3793589

Browse files
authored
Merge pull request #29674 from delsner/vexctl
Add vexctl
2 parents 4f5c82f + 1ce7949 commit 3793589

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

recipes/vexctl/recipe.yaml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
context:
2+
name: vexctl
3+
version: "0.3.0"
4+
5+
package:
6+
name: ${{ name|lower }}
7+
version: ${{ version }}
8+
9+
source:
10+
- url: https://github.com/openvex/${{ name }}/archive/refs/tags/v${{ version }}.tar.gz
11+
sha256: 5a5904448ef1bf11bd8a165d737acc88afd9799618f6583c15cee5d99dd58e17
12+
target_directory: src
13+
14+
build:
15+
number: 0
16+
script:
17+
- cd src
18+
# alibabacloud-go/cr-20160607/ has no LICENSE as of version 1.0.1, but is Apache-2.0 licensed.
19+
- go-licenses save ./ --save_path ../library_licenses --ignore github.com/openvex/vexctl --ignore github.com/alibabacloud-go/cr-20160607/client
20+
- if: win
21+
then: go install -v .
22+
else: go build -v -trimpath -o $PREFIX/bin/vexctl ./main.go
23+
24+
requirements:
25+
build:
26+
- ${{ compiler('go-nocgo') }}
27+
- ${{ stdlib('c') }}
28+
- go-licenses
29+
30+
tests:
31+
- script:
32+
- vexctl --help
33+
34+
about:
35+
homepage: https://github.com/openvex/vexctl
36+
summary: A tool to create, transform and attest VEX metadata
37+
license: Apache-2.0
38+
license_file:
39+
- src/LICENSE
40+
- library_licenses/
41+
repository: https://github.com/openvex/vexctl
42+
43+
extra:
44+
recipe-maintainers:
45+
- delsner

0 commit comments

Comments
 (0)