You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.2 KiB
45 lines
1.2 KiB
|
|
SET rootPath=D:\dev\pandora
|
|
set cli_path=%rootPath%\pandora_cli_proj
|
|
set share_path=%rootPath%\pandora_share_proj
|
|
set svr_path=%rootPath%\pandora_svr_proj
|
|
|
|
SET svn_work1=%cli_path%\pandora\Assets\Scripts
|
|
|
|
|
|
svn cleanup %svn_work1%
|
|
svn cleanup %share_path%
|
|
svn cleanup %svr_path%
|
|
|
|
svn cleanup --remove-unversioned %svn_work1%
|
|
svn cleanup --remove-unversioned %share_path%
|
|
svn cleanup --remove-unversioned %svr_path%
|
|
|
|
echo *******************SVN*******************
|
|
|
|
svn update %svn_work1%
|
|
svn update %share_path%
|
|
svn update %svr_path%
|
|
|
|
|
|
cd /d %share_path%
|
|
echo *******************export excel*******************
|
|
call ²ß»®µ¼±í.bat < nul
|
|
|
|
|
|
echo *******************build start*******************
|
|
"C:\cygwin64\bin\bash.exe" --login -i -c "cd /cygdrive/d/dev/pandora/pandora_svr_proj/ctrl_sh;./build.sh"
|
|
|
|
echo *******************build end*******************
|
|
|
|
set publish_path=%rootPath%\svr_release\pandora_svr_proj
|
|
xcopy %svr_path%\bin\ %publish_path%\bin\ /s/y
|
|
xcopy %svr_path%\cfg\ %publish_path%\cfg\ /s/y
|
|
xcopy %svr_path%\ctrl_sh\ %publish_path%\ctrl_sh\ /s/y
|
|
xcopy %svr_path%\tools\sql\ %publish_path%\tools\sql\ /s/y
|
|
|
|
cd %rootPath%\svr_release
|
|
|
|
set tempStr=%date:/=-%-%time::=-%
|
|
set fileName=%tempStr: =-%
|
|
tar zcvf pandora_publish_win_%fileName%.tgz ./pandora_svr_proj
|