commit 9f34d2b
hovercats
·
2026-07-17 09:56:33 +0000 UTC
parent dded61d
repo/github-cli: readd, so we can build github-cli instead
5 files changed,
+18,
-0
+14,
-0
1@@ -0,0 +1,14 @@
2+#!/bin/sh -e
3+
4+export GOPATH="$PWD/go"
5+export GO111MODULE=on
6+export GOPROXY=https://proxy.golang.org
7+export CGO_ENABLED=0
8+
9+go build -a -ldflags="-w -s -extldflags '-static'"\
10+ -modcacherw \
11+ -trimpath \
12+ -buildvcs=false \
13+ ./cmd/gh
14+
15+install -Dm755 gh "$1/usr/bin/gh"
+1,
-0
1@@ -0,0 +1 @@
2+9dad754a772fd7f7ba1350c166e2dfa10c98760735ac808d08db4ddd0df17a9f5d
+1,
-0
1@@ -0,0 +1 @@
2+go make
+1,
-0
1@@ -0,0 +1 @@
2+https://github.com/cli/cli/archive/refs/tags/v2.96.0.tar.gz
+1,
-0
1@@ -0,0 +1 @@
2+2.96.0 1