logic: Test License is valid on day 0
* License was invalid on expire date * build script does not start app after failing build * symlink on linux
This commit is contained in:
+7
-2
@@ -3,11 +3,16 @@
|
||||
# Determine path to script
|
||||
MY_PATH=`dirname "$0"`
|
||||
|
||||
# build target
|
||||
$MY_PATH/buildonly.sh $@
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
cd $MY_PATH/..
|
||||
|
||||
# Build and run target
|
||||
# run target
|
||||
|
||||
if [ "$1" = "release" ] || [ "$1" = "r" ]
|
||||
then
|
||||
@@ -38,7 +43,7 @@ then
|
||||
elif [ "$2" = "keygen" ]
|
||||
then
|
||||
#echo "debug keygen"
|
||||
cd bin/license_generator && Debug/Coati_license_generator_d
|
||||
cd bin/license_generator && Debug/Coati_license_generator
|
||||
else
|
||||
#echo "debug app"
|
||||
cd bin/app && Debug/Coati
|
||||
|
||||
+5
-2
@@ -55,8 +55,11 @@ if [ $PLATFORM == "Windows" ]; then
|
||||
cmd //c 'mklink /d /j '.$MY_PATH.'\..\bin\app\Release\user '.$MY_PATH.'\..\bin\app\user' &
|
||||
elif [ $PLATFORM == "Linux" ]; then
|
||||
echo -e $INFO "create symbolic links for data"
|
||||
ln -sr bin/app/data bin/app/Release/data
|
||||
ln -sr bin/app/data bin/app/Debug/data
|
||||
cd bin/app/Release
|
||||
ln -s ../data data
|
||||
cd ../Debug
|
||||
ln -s ../data data
|
||||
cd ../../..
|
||||
fi
|
||||
|
||||
# Setup both Debug and Release configuration
|
||||
|
||||
Reference in New Issue
Block a user