container_setup.bash: new script for initialize the project build
This commit is contained in:
parent
ba100d86f2
commit
5d4a6ac058
12
container_setup.bash
Executable file
12
container_setup.bash
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/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
|
||||||
|
go build
|
Loading…
Reference in New Issue
Block a user