[#62] Cache Go dependencies

This commit is contained in:
Radon Rosborough 2021-07-17 08:47:08 +00:00
parent aeb4f4ab6a
commit 14ac685c52
1 changed files with 5 additions and 1 deletions

View File

@ -8,5 +8,9 @@ function verbosely {
}
cd supervisor
mkdir -p out
mkdir -p build/go out
export GOCACHE="$PWD/build/go/cache"
export GOMODCACHE="$PWD/build/go/mod"
verbosely go build -o out/riju-supervisor ./src