13 lines
304 B
Bash
Executable File
13 lines
304 B
Bash
Executable File
#!/usr/bin/env bash
|
|
GO_SRC="/go/src"
|
|
PKG_PATTERN="git\.portale-stac\.it/[^ ]*"
|
|
PKG_BRANCH=main
|
|
|
|
#cd "${GO_SRC}"
|
|
#git clone -b main https://git.portale-stac.it/go/dev-expr.git
|
|
#cd "dev-expr"
|
|
for pkg in $(grep -o "${PKG_PATTERN}" go.mod); do
|
|
go get "${pkg}@${PKG_BRANCH}"
|
|
done
|
|
./build.bash --local
|