Commit 9a081a90 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Added GOPATH

parent ed1b2bba
Pipeline #2085 failed with stages
in 4 minutes and 16 seconds
......@@ -14,6 +14,7 @@ sha256sums=('7cc869c3cdab1cd577205e7b3b5c64fba0a9181241e5f11305091db59e695779')
build() {
cd "$pkgname-$pkgver"
export GOPATH="$srcdir"/go
export CXXFLAGS+=' -std=c++14 '
make install
make build
......@@ -25,6 +26,7 @@ build() {
check() {
cd "$pkgname-$pkgver"
export GOPATH="$srcdir"/go
# Force UTC timezone so that tests pass, even after a DST change
PATH="$PATH:/build/go/bin" TZ=UTC make test lint
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment