support 64bit only tgit installations and add new batchfile to automatically do a clean clone of github's master branch

This commit is contained in:
zeromus 2016-02-16 17:15:03 -06:00
parent 75ed1bfca3
commit bcf7108715
2 changed files with 18 additions and 1 deletions

View File

@ -1,4 +1,4 @@
set PATH=%PATH%;C:\Program Files (x86)\git\bin
set PATH=%PATH%;C:\Program Files (x86)\git\bin;C:\Program Files\git\bin
if "%1"=="" (
SET NAME=BizHawk.zip

View File

@ -0,0 +1,17 @@
set PATH=%PATH%;C:\Program Files (x86)\git\bin;C:\Program Files\git\bin
set WORKDIR=.build-github-master
rmdir /s /q %WORKDIR%
mkdir %WORKDIR%
cd %WORKDIR%
rem http://stackoverflow.com/questions/13750182/git-how-to-archive-from-remote-repository-directly
git clone --depth=1 --single-branch --branch master http://github.com/TASVideos/BizHawk.git .
cd dist
call BuildAndPackage_Release.bat
rem make sure we save the output!
move BizHawk.zip ..\..\BizHawk-Github-Master.zip
cd ..\..
rmdir /s /q %WORKDIR%