Commit 884cd3a4 authored by Benoit Lavenier's avatar Benoit Lavenier

[fix] Build: do not failed if platform desktop is missing

parent fe158348
......@@ -149,17 +149,21 @@ if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ && $3 =~ ^[0-9]+$ ]]; then
echo "- Building desktop artifacts..."
echo "----------------------------------"
#FIXME: ceci empêche d'etre sur le master/origin de cesium-desktop
#git submodule update --init
git submodule sync
cd platforms/desktop
# Build desktop assets
./release.sh $2
if [[ $? -ne 0 ]]; then
exit -1
fi
if [[ -d platforms/desktop ]]; then
cd platforms/desktop
# Build desktop assets
./release.sh $2
if [[ $? -ne 0 ]]; then
exit -1
fi
else
echo "WARN: platform/desktop not found -> Skipping desktop build!"
fi;
# back to nodejs version 5
cd $DIRNAME
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment