Commit 575ae2be authored by Benoit Lavenier's avatar Benoit Lavenier

Minor changes

parent 55656ee2
Pipeline #9458 failed
......@@ -19,8 +19,8 @@
<script src="cesium-desktop.js"></script>
<!-- Preload JS files here -->
<!-- Preload JS files here
<script src="cesium/dist_js/cesium.js" async></script>
<script src="cesium/dist_js/vendor.js" async></script>
<script src="cesium/dist_js/vendor.js" async></script>-->
</body>
</html>
......@@ -30,7 +30,16 @@ if [[ -z $TAG ]]; then
exit 1
fi
# Force nodejs version to 6
# Override with a local file, if any
if [[ -f "${ROOT}/.local/env.sh" ]]; then
echo "Loading environment variables from: '.local/env.sh'"
source ${ROOT}/.local/env.sh
[[ $? -ne 0 ]] && exit 1
else
echo "No file '${ROOT}/.local/env.sh' found. Will use defaults"
fi
# Force nodejs version
if [[ -d "${NVM_DIR}" ]]; then
. ${NVM_DIR}/nvm.sh
nvm use ${NODEJS_VERSION}
......
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