Skip to content
Snippets Groups Projects

Added local building of go modules

Merged Nathan Bockisch requested to merge WS-702 into main
6 files
+ 171
8
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 4
8
@@ -39,13 +39,9 @@ do
fi
cd "$module"
# if [ -e setup.py ]; then
# until python3 setup.py bdist_pex --bdist-all --bdist-dir="$BUILD_DIR" --pex-args="--python-shebang /home/ssa/bin/python3.8"; do
# echo "PEX build failed. Retrying."; sleep 2;
# done
# else
# echo "PEX build impossible in $PWD because there is no setup.py file"
# fi
# cd ..
# Run the build
CGO_ENABLED=0 go build -a -ldflags "-w -s" -o $BUILD_DIR/$module
cd ..
done
Loading