Skip to content
Snippets Groups Projects
Commit 2620d1e5 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

make build script fail if nwjs binary isn't downloaded

parent b2c87b8c
No related branches found
No related tags found
1 merge request!203bail out if we can't download the nw.js binary
Pipeline #
...@@ -143,6 +143,13 @@ if [ ! -d "../pd/nw/nw" ]; then ...@@ -143,6 +143,13 @@ if [ ! -d "../pd/nw/nw" ]; then
echo "Fetching the nwjs binary from" echo "Fetching the nwjs binary from"
echo "$nwjs_url" echo "$nwjs_url"
wget -nv $nwjs_url wget -nv $nwjs_url
if wget -nv $nwjs_url; then
echo "Could not download the nwjs binary"
exit 1
else
echo "Downloaded nwjs binary"
exit 1
fi
if [[ $os == "win" || $os == "osx" ]]; then if [[ $os == "win" || $os == "osx" ]]; then
unzip $nwjs_filename unzip $nwjs_filename
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment