Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Fixed build script
Browse files Browse the repository at this point in the history
  • Loading branch information
antoninkriz committed Aug 25, 2020
1 parent 52ad080 commit 5adc640
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Viewer/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}

body {
margin: 0;
margin: 0 30px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 14px;
-webkit-font-smoothing: antialiased;
Expand Down
10 changes: 5 additions & 5 deletions _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ printf "\n===BUILDING - LoadData===\n\n"
DIR_LOADDATA="$DIR_BUILD/LoadData"
mkdir "$DIR_LOADDATA"
cp LoadData/main.py "$DIR_LOADDATA/main.py"
$ret = $?
ret=$?
if [ $ret -ne 0 ]; then
printf "\n===ERROR: Building LoadData failed===\n\n"
echo "$DATA_LOAD"
Expand All @@ -58,14 +58,14 @@ DIR_PROCESSDATA="$DIR_BUILD/ProcessData"
mkdir "$DIR_PROCESSDATA"
cd "$DIR_PROCESSDATA"
cmake -DCMAKE_BUILD_TYPE=Release "$HERE/ProcessData"
$ret = $?
ret=$?
if [ $ret -ne 0 ]; then
printf "\n===ERROR: Building ProcessData (CMake) failed===\n\n"
echo "$DATA_LOAD"
exit 1
fi
make
$ret = $?
ret=$?
if [ $ret -ne 0 ]; then
printf "\n===ERROR: Building ProcessData (Make) failed===\n\n"
echo "$DATA_LOAD"
Expand All @@ -80,14 +80,14 @@ mkdir "$DIR_VIEWER"
cp -r Viewer/* "$DIR_VIEWER"
cd "$DIR_VIEWER"
yarn install
$ret = $?
ret=$?
if [ $ret -ne 0 ]; then
printf "\n===ERROR: Building Viewer (install) failed===\n\n"
echo "$DATA_LOAD"
exit 1
fi
yarn run build
$ret = $?
ret=$?
if [ $ret -ne 0 ]; then
printf "\n===ERROR: Building Viewer (build) failed===\n\n"
echo "$DATA_LOAD"
Expand Down

0 comments on commit 5adc640

Please sign in to comment.