build: renaming to sourcetrail
This commit is contained in:
+21
-21
@@ -57,41 +57,41 @@ fi
|
||||
# CLEANING THE SOLUTIONS
|
||||
if [ $REBUILD = true ]; then
|
||||
echo -e "$INFO cleaning the solution"
|
||||
"devenv.com" build/win32/Coati.sln //clean Release
|
||||
"devenv.com" build/win64/Coati.sln //clean Release
|
||||
"devenv.com" build/win32/Sourcetrail.sln //clean Release
|
||||
"devenv.com" build/win64/Sourcetrail.sln //clean Release
|
||||
fi
|
||||
|
||||
|
||||
# BUILDING THE EXECUTABLES
|
||||
echo -e "$INFO building the app (32 bit)"
|
||||
"devenv.com" build/win32/Coati.sln //build Release //project build/win32/Coati.vcxproj
|
||||
"devenv.com" build/win32/Sourcetrail.sln //build Release //project build/win32/Sourcetrail.vcxproj
|
||||
echo -e "$INFO building the app (64 bit)"
|
||||
"devenv.com" build/win64/Coati.sln //build Release //project build/win64/Coati.vcxproj
|
||||
"devenv.com" build/win64/Sourcetrail.sln //build Release //project build/win64/Sourcetrail.vcxproj
|
||||
|
||||
|
||||
# CREATING DATABASES
|
||||
if [ $UPDATE_DATABASES = true ]; then
|
||||
echo -e "$INFO creating databases"
|
||||
|
||||
rm bin/app/user/projects/tictactoe/tictactoe.coatidb
|
||||
rm bin/app/user/projects/tutorial/tutorial.coatidb
|
||||
rm bin/app/user/projects/javaparser/javaparser.coatidb
|
||||
rm bin/app/user/projects/tictactoe/tictactoe.srctrldb
|
||||
rm bin/app/user/projects/tutorial/tutorial.srctrldb
|
||||
rm bin/app/user/projects/javaparser/javaparser.srctrldb
|
||||
rm -rf temp
|
||||
|
||||
mkdir -p temp
|
||||
cd temp
|
||||
|
||||
echo -e "$INFO saving license key"
|
||||
../build/win32/Release/app/Coati.exe -z ../script/license.txt
|
||||
../build/win32/Release/app/Sourcetrail.exe -z ../script/license.txt
|
||||
|
||||
echo -e "$INFO creating database for tictactoe"
|
||||
../build/win32/Release/app/Coati.exe -p ../bin/app/user/projects/tictactoe/tictactoe.coatiproject -d
|
||||
../build/win32/Release/app/Sourcetrail.exe -p ../bin/app/user/projects/tictactoe/tictactoe.srctrlprj -d
|
||||
|
||||
echo -e "$INFO creating database for tutorial"
|
||||
../build/win32/Release/app/Coati.exe -p ../bin/app/user/projects/tutorial/tutorial.coatiproject -d
|
||||
../build/win32/Release/app/Sourcetrail.exe -p ../bin/app/user/projects/tutorial/tutorial.srctrlprj -d
|
||||
|
||||
echo -e "$INFO creating database for javaparser"
|
||||
../build/win32/Release/app/Coati.exe -p ../bin/app/user/projects/javaparser/javaparser.coatiproject -d
|
||||
../build/win32/Release/app/Sourcetrail.exe -p ../bin/app/user/projects/javaparser/javaparser.srctrlprj -d
|
||||
|
||||
cd ..
|
||||
rm -rf temp
|
||||
@@ -112,7 +112,7 @@ VERSION_STRING="${VERSION_STRING//./_}"
|
||||
VERSION_STRING="${VERSION_STRING%_*}"
|
||||
|
||||
echo -e "$INFO creating package folder for win32"
|
||||
APP_PACKAGE_NAME_WIN32=Coati_${VERSION_STRING}_32bit
|
||||
APP_PACKAGE_NAME_WIN32=Sourcetrail_${VERSION_STRING}_32bit
|
||||
APP_PACKAGE_DIR_WIN32=release/$APP_PACKAGE_NAME_WIN32
|
||||
|
||||
rm -rf $APP_PACKAGE_DIR_WIN32
|
||||
@@ -133,11 +133,11 @@ cp -u -r ide_plugins/sublime_text/* $APP_PACKAGE_DIR_WIN32/plugins/sublime_text/
|
||||
mkdir -p $APP_PACKAGE_DIR_WIN32/plugins/vim/
|
||||
cp -u -r ide_plugins/vim/* $APP_PACKAGE_DIR_WIN32/plugins/vim/
|
||||
mkdir -p $APP_PACKAGE_DIR_WIN32/plugins/visual_studio/
|
||||
cp -u -r ide_plugins/vs/coati_plugin_vs.vsix $APP_PACKAGE_DIR_WIN32/plugins/visual_studio/
|
||||
cp -u -r ide_plugins/vs/sourcetrail_plugin_vs.vsix $APP_PACKAGE_DIR_WIN32/plugins/visual_studio/
|
||||
|
||||
|
||||
echo -e "$INFO creating package folder for win64"
|
||||
APP_PACKAGE_NAME_WIN64=Coati_${VERSION_STRING}_64bit
|
||||
APP_PACKAGE_NAME_WIN64=Sourcetrail_${VERSION_STRING}_64bit
|
||||
APP_PACKAGE_DIR_WIN64=release/$APP_PACKAGE_NAME_WIN64
|
||||
|
||||
rm -rf $APP_PACKAGE_DIR_WIN64
|
||||
@@ -158,22 +158,22 @@ cp -u -r ide_plugins/sublime_text/* $APP_PACKAGE_DIR_WIN64/plugins/sublime_text/
|
||||
mkdir -p $APP_PACKAGE_DIR_WIN64/plugins/vim/
|
||||
cp -u -r ide_plugins/vim/* $APP_PACKAGE_DIR_WIN64/plugins/vim/
|
||||
mkdir -p $APP_PACKAGE_DIR_WIN64/plugins/visual_studio/
|
||||
cp -u -r ide_plugins/vs/coati_plugin_vs.vsix $APP_PACKAGE_DIR_WIN64/plugins/visual_studio/
|
||||
cp -u -r ide_plugins/vs/sourcetrail_plugin_vs.vsix $APP_PACKAGE_DIR_WIN64/plugins/visual_studio/
|
||||
|
||||
|
||||
# PACKAGING COATI
|
||||
echo -e "$INFO packaging coati"
|
||||
# PACKAGING SOURCETRAIL
|
||||
echo -e "$INFO packaging sourcetrail"
|
||||
cd ./release/
|
||||
|
||||
winrar a -afzip Coati_${VERSION_STRING}_Windows_32bit.zip $APP_PACKAGE_NAME_WIN32
|
||||
winrar a -afzip Coati_${VERSION_STRING}_Windows_64bit.zip $APP_PACKAGE_NAME_WIN64
|
||||
winrar a -afzip Sourcetrail_${VERSION_STRING}_Windows_32bit.zip $APP_PACKAGE_NAME_WIN32
|
||||
winrar a -afzip Sourcetrail_${VERSION_STRING}_Windows_64bit.zip $APP_PACKAGE_NAME_WIN64
|
||||
|
||||
|
||||
# STORING PDB FILES
|
||||
mkdir PDB_${APP_PACKAGE_NAME_WIN32}
|
||||
cp -u -r ../build/win32/Release/app/Coati.pdb PDB_${APP_PACKAGE_NAME_WIN32}/
|
||||
cp -u -r ../build/win32/Release/app/Sourcetrail.pdb PDB_${APP_PACKAGE_NAME_WIN32}/
|
||||
mkdir PDB_${APP_PACKAGE_NAME_WIN64}
|
||||
cp -u -r ../build/win64/Release/app/Coati.pdb PDB_${APP_PACKAGE_NAME_WIN64}/
|
||||
cp -u -r ../build/win64/Release/app/Sourcetrail.pdb PDB_${APP_PACKAGE_NAME_WIN64}/
|
||||
|
||||
cd ../
|
||||
|
||||
|
||||
Reference in New Issue
Block a user