summaryrefslogtreecommitdiff
path: root/testing/gx
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-08-04 10:32:56 +0000
committerpsykose <alice@ayaya.dev>2022-08-04 12:33:04 +0200
commitd9e95826c086ba4b679198c1d458746d48ef8b3e (patch)
treedc0d717c8c3a045ec8b88fda24b5019b342782d4 /testing/gx
parentc1b3caf678a639c1f902aad6dc4b8f0a1d600e97 (diff)
downloadaports-d9e95826c086ba4b679198c1d458746d48ef8b3e.zip
testing/*: add gocache vars
see cffbff77e1cf386d901febec4a35b2a905065514
Diffstat (limited to 'testing/gx')
-rw-r--r--testing/gx/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/gx/APKBUILD b/testing/gx/APKBUILD
index 779bd970314..b0ecc8d44e2 100644
--- a/testing/gx/APKBUILD
+++ b/testing/gx/APKBUILD
@@ -16,6 +16,10 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/whyrusleeping/gx/archive/v$p
"
builddir="$srcdir/src/github.com/whyrusleeping/$pkgname"
+export GOCACHE="$srcdir/go-cache"
+export GOTMPDIR="$srcdir"
+export GOMODCACHE="$srcdir/go"
+
prepare() {
export GOPATH="$srcdir"