From 46322bf8b5c233b0a292a7e4be92d8fcbab26ca1 Mon Sep 17 00:00:00 2001 From: Sanchit Ram Arvind Date: Tue, 4 Apr 2023 18:34:24 -0400 Subject: [PATCH] +gops (#1247) * +gops * Update package.yml * Delete version.patch --------- Co-authored-by: Jacob Heider --- projects/github.com/google/gops/package.yml | 25 +++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 projects/github.com/google/gops/package.yml diff --git a/projects/github.com/google/gops/package.yml b/projects/github.com/google/gops/package.yml new file mode 100644 index 00000000..ac80286c --- /dev/null +++ b/projects/github.com/google/gops/package.yml @@ -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