mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+gops (#1247)
* +gops * Update package.yml * Delete version.patch --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
06af6705df
commit
46322bf8b5
25
projects/github.com/google/gops/package.yml
Normal file
25
projects/github.com/google/gops/package.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
distributable:
|
||||
url: https://github.com/google/gops/archive/refs/tags/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: google/gops/tags
|
||||
|
||||
dependencies:
|
||||
go.dev: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
go.dev: '*'
|
||||
script: |
|
||||
go build -ldflags="$LDFLAGS"
|
||||
mkdir -p "{{ prefix }}"/bin
|
||||
mv gops "{{ prefix }}"/bin
|
||||
env:
|
||||
LDFLAGS:
|
||||
- -s -w
|
||||
|
||||
provides:
|
||||
- bin/gops
|
||||
|
||||
test: gops
|
Loading…
Reference in a new issue