Commit 7e92caa8 authored by Francesco Carraro's avatar Francesco Carraro
Browse files

first common commit

parent 23dcff0e
Loading
Loading
Loading
Loading
+76 −0
Original line number Diff line number Diff line
@echo off

::enter comment for commit
echo Enter a comment for committing Libraries
set /p comment=comment [ENTER to submit]:

::set main projects folder
set projects_folder_path=C:\Visual Studio\Projects\INAF

::define AlgLib solution folder and commit it
set app_path="%projects_folder_path%\Apps\INAF.Apps.Uwp.SLabDataManager"
cd /D "%library_app_path%"
echo Committing %app_path%...
git add -A
git commit -am "%comment%"
git push

::define Extensions solution folder and commit it
set library_extensions_path="%projects_folder_path%\Libraries\NetStandard\INAF.Libraries.NetStandard.extensions"
cd /D "%library_extensions_path%"
echo Committing %library_extensions_path%...
git add -A
git commit -am "%comment%"
git push

::define ScienceModels solution folder and commit it
set library_sciencemodels_path="%projects_folder_path%\Libraries\NetStandard\INAF.Libraries.NetStandard.ScienceModels"
cd /D "%library_sciencemodels_path%"
echo Committing %library_sciencemodels_path%...
git add -A
git commit -am "%comment%"
git push

::define UWP Converters solution folder and commit it
set library_ftp_path="%projects_folder_path%\Libraries\Uwp\INAF.Libraries.Uwp.Converters"
cd /D "%library_uwpconverters_path%"
echo Committing %library_uwpconverters_path%...
git add -A
git commit -am "%comment%"
git push

::define UWP Logging solution folder and commit it
set library_logging_path="%projects_folder_path%\Libraries\Uwp\INAF.Libraries.Uwp.Logging"
cd /D "%library_logging_path%"
echo Committing %library_logging_path%...
git add -A
git commit -am "%comment%"
git push

::define UWP Settings solution folder and commit it
set library_db_path="%projects_folder_path%\Libraries\Uwp\INAF.Libraries.Uwp.Settings"
cd /D "%library_uwpsettings_path%"
echo Committing %library_uwpsettings_path%...
git add -A
git commit -am "%comment%"
git push

::define Helpers solution folder and commit it
set library_sia_path="%projects_folder_path%\Libraries\Uwp\INAF.Libraries.Uwp.StorageItemsAccess"
cd /D "%library_sia_path%"
echo Committing %library_sia_path%...
git add -A
git commit -am "%comment%"
git push

::define 1nce solution folder and commit it
set library_xml_path="%projects_folder_path%\Libraries\Uwp\INAF.Libraries.Uwp.TelerikChartsExtensions"
cd /D "%library_tce_path%"
echo Committing %library_tce_path%...
git add -A
git commit -am "%comment%"
git push

:: end
cd /D "%app_path%"

git_pull_libraries.bat

0 → 100644
+62 −0
Original line number Diff line number Diff line
@echo off

::set main projects folder
set projects_folder_path=C:\Visual Studio\Projects

::define app solution folder and commit it
set app_path="%projects_folder_path%\Apps\INAF.Apps.Uwp.PfsApp"
cd /D "%app_path%"
echo Pulling %app_path%...
git pull

::define SSH solution folder and commit it
set library_ssh_path="%projects_folder_path%\INAF\Libraries\NetStandard\INAF.Libraries.NetStandard.SSH"
cd /D "%library_ssh_path%"
echo Pulling %library_ssh_path%...
git pull

::define PFS models solution folder and commit it
set library_pfsmodels_path="%projects_folder_path%\INAF\Libraries\NetStandard\INAF.Libraries.NetStandard.PfsModels"
cd /D "%library_pfsmodels_path%"
echo Pulling %library_pfsmodels_path%...
git pull

::define extensions solution folder and commit it
set library_extensions_path="%projects_folder_path%\INAF\Libraries\NetStandard\INAF.Libraries.NetStandard.extensions"
cd /D "%library_extensions_path%"
echo Pulling %library_extensions_path%...
git pull

::define FTP folder and commit it
set library_ftp_path="%projects_folder_path%\INAF\Libraries\Uwp\INAF.Libraries.Uwp.Ftp"
cd /D "%library_ftp_path%"
echo Pulling %library_ftp_path%...
git pull

::define logging solution folder and commit it
set library_logging_path="%projects_folder_path%\INAF\Libraries\Uwp\INAF.Libraries.Uwp.Logging"
cd /D "%library_logging_path%"
echo Pulling %library_logging_path%...
git pull

::define PFS DB solution folder and commit it
set library_db_path="%projects_folder_path%\INAF\Libraries\Uwp\INAF.Libraries.Uwp.PfsDb"
cd /D "%library_db_path%"
echo Pulling %library_db_path%...
git pull

::define S.I.A. solution folder and commit it
set library_sia_path="%projects_folder_path%\INAF\Libraries\Uwp\INAF.Libraries.Uwp.StorageItemsAccess"
cd /D "%library_sia_path%"
echo Pulling %library_sia_path%...
git pull

::define XML solution folder and commit it
set library_xml_path="%projects_folder_path%\INAF\Libraries\Uwp\INAF.Libraries.Uwp.Xml"
cd /D "%library_xml_path%"
echo Pulling %library_xml_path%...
git pull

:: end
cd /D "%projects_folder_path%"