build: cache build artifacts for Go
This commit is contained in:
parent
0cead13226
commit
275b596046
1 changed files with 4 additions and 1 deletions
|
@ -44,7 +44,10 @@ for package in "${PACKAGES[@]}"; do
|
||||||
|
|
||||||
# go - modules
|
# go - modules
|
||||||
if grep -q "depends = go" <<<"$makepkg_output"; then
|
if grep -q "depends = go" <<<"$makepkg_output"; then
|
||||||
EXTRA_ARGS+=(--bind-rw /var/cache/golang/pkg:/build/go/pkg)
|
EXTRA_ARGS+=(
|
||||||
|
--bind-rw /var/cache/golang/pkg:/build/go/pkg
|
||||||
|
--bind-rw /var/cache/golang/build:/build/.cache/go-build
|
||||||
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# dart - packages
|
# dart - packages
|
||||||
|
|
Loading…
Reference in a new issue