Commit ee28097d authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

There was no check for -taste-update-data-view exit code. Added.

parent 5a21e508
......@@ -22,7 +22,7 @@ fi
SKELS="./"
# Update the data view with local paths
taste-update-data-view
taste-update-data-view || exit 1
# Generate code for OpenGEODE function orchestrator
cd "$SKELS"/orchestrator && opengeode --toAda orchestrator.pr system_structure.pr && cd $OLDPWD
......
......@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view
taste-update-data-view || exit 1
rm -f lift_model.zip
zip lift_model lift_model/*
......
......@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
taste-update-data-view
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
......
......@@ -22,7 +22,7 @@ fi
SKELS="./"
# Update the data view with local paths
taste-update-data-view
taste-update-data-view || exit 1
cd "$SKELS" && rm -f router.zip && zip router router/* && cd $OLDPWD
......
......@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
......
......@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
taste-update-data-view
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
......
......@@ -4,7 +4,7 @@ rm -f simple_c_function.zip
zip simple_c_function simple_c_function/*
[ ! -z "$CLEANUP" ] && rm -rf binary.*
taste-update-data-view
taste-update-data-view || exit 1
# Ada runtime
assert-builder-ocarina.py \
......
......@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
taste-update-data-view
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
......
......@@ -43,7 +43,7 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS="./"
# Update the data view with local paths
taste-update-data-view
taste-update-data-view || exit 1
cd "$SKELS" && rm -f simple_c_function.zip && zip simple_c_function simple_c_function/* && cd $OLDPWD
......
......@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view
taste-update-data-view || exit 1
rm -f function0.zip
zip function0 function0/*
......
......@@ -9,7 +9,7 @@ cd ..
[ ! -z "$CLEANUP" ] && rm -rf binary.linux.pohic/
taste-update-data-view
taste-update-data-view || exit 1
assert-builder-ocarina.py \
-f \
......
......@@ -22,7 +22,7 @@ fi
SKELS="./"
# Update the data view with local paths
taste-update-data-view
taste-update-data-view || exit 1
# Generate code for OpenGEODE function flight
cd "$SKELS"/flight && opengeode --toAda flight.pr system_structure.pr && cd $OLDPWD
......
......@@ -24,7 +24,7 @@ fi
SKELS="./"
# Update the data view with local paths
taste-update-data-view
taste-update-data-view || exit 1
cd "$SKELS" && rm -f function1.zip && zip function1 function1/* && cd $OLDPWD
......
#!/bin/bash
taste-update-data-view
taste-update-data-view || exit 1
rm -f a.zip
zip a a/*
......
#!/bin/bash
taste-update-data-view
taste-update-data-view || exit 1
rm -f hello.zip
zip hello hello/*
......
......@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
taste-update-data-view
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
......
......@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view
taste-update-data-view || exit 1
rm -f f1.zip
zip f1 f1/*
......
......@@ -22,7 +22,7 @@ fi
SKELS="Inputs/code/"
# Update the data view with local paths
taste-update-data-view
taste-update-data-view || exit 1
cd "$SKELS" && rm -f a.zip && zip a a/* && cd $OLDPWD
......
#!/bin/bash
taste-update-data-view
taste-update-data-view || exit 1
cd skels
rm -f pinger.zip
......
......@@ -45,7 +45,7 @@ then
else
OUTPUTDIR=binary
fi
taste-update-data-view
taste-update-data-view || exit 1
assert-builder-ocarina.py \
--fast \
-p \
......
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