Show environment before building (#389)

* Show environment before building

* Code review fixes
This commit is contained in:
Alejandro R Mosteo
2021-10-27 10:52:08 +02:00
committed by GitHub
parent 3c92f41ec6
commit 1f2c4b51c0
+8 -6
View File
@@ -135,24 +135,26 @@ for file in $CHANGES; do
echo DEPLOYING CRATE $milestone
if $is_binary; then
echo SKIPPING BUILD for BINARY crate, FETCHING only
build_flag=""
else
build_flag="--build"
elif $is_system; then
echo SKIPPING BUILD for SYSTEM crate, FETCHING only
fi
alr get -d $build_flag -n $milestone
alr -d -n get $milestone
if $is_system; then
echo DETECTING INSTALLED PACKAGE via crate $milestone
alr show -d --external-detect $milestone
alr -d show --external-detect $milestone
elif $is_binary; then
echo FETCHED BINARY crate OK
else
echo FETCHED SOURCE crate OK
cd ${crate}_${version_noextras}_*
echo BUILD ENVIRONMENT
alr printenv
echo BUILDING CRATE
alr -d -n build
echo LISTING EXECUTABLES of crate $milestone
alr run -d --list
alr -d run --list
cd ..
fi