forked from simulationcraft/simc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove old unused package.bat from the "old" days
- Replace my little package script with a newer version: - Use svn instead of git-svn - directly compile things from the downloaded tag, don't import the binaries - archive everything git-svn-id: https://simulationcraft.googlecode.com/svn/trunk@14906 3b4652a1-8050-0410-ac47-3d40261b0f8b
- Loading branch information
philoptik
committed
Dec 5, 2012
1 parent
bfd225b
commit 893d861
Showing
3 changed files
with
65 additions
and
63 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
|
||
REM Small SimC release script created by [email protected] | ||
REM It sits in my /git folder, above the simulationcraft folder | ||
REM After tagging for a release, I edit the variables 'version' | ||
REM and 'rev' and execute it. | ||
|
||
IF (%1) == () exit /b | ||
|
||
set version=%1 | ||
|
||
REM REQUIRES: qmake, make, g++ in your PATH, as well as a archiver | ||
|
||
set target_dir=simc-%version% | ||
set build_dir=simc-%version%-build | ||
set tag=release-%version% | ||
set MAKE=mingw32-make | ||
set QMAKE=qmake | ||
set ARCHIVER=7z a | ||
|
||
|
||
call svn checkout https://simulationcraft.googlecode.com/svn/tags/%tag% %target_dir%/source | ||
|
||
REM copy things over to the temporary build dir, and build cli + gui there | ||
xcopy /E /I /H %target_dir%\source %build_dir% | ||
cd %build_dir% | ||
cd engine | ||
%MAKE% -j4 | ||
cd .. | ||
%QMAKE% simcqt.pro | ||
%MAKE% -j4 release | ||
cd .. | ||
|
||
|
||
del /F /Q /S %target_dir%\source\.svn | ||
rd /Q /S %target_dir%\source\.svn\ | ||
xcopy /E /I /H %target_dir%\source\profiles %target_dir%\profiles | ||
rd /Q /S %target_dir%\source\profiles\ | ||
|
||
xcopy /E /I /H %target_dir%\source\locale %target_dir%\locale | ||
rd /Q /S %target_dir%\source\locale\ | ||
|
||
move %target_dir%\source\Examples.simc %target_dir%\ | ||
move %target_dir%\source\Legend.html %target_dir%\ | ||
move %target_dir%\source\READ_ME_FIRST.txt %target_dir%\ | ||
move %target_dir%\source\Welcome.html %target_dir%\ | ||
move %target_dir%\source\Welcome.png %target_dir%\ | ||
move %target_dir%\source\windows_env_path.vbs %target_dir%\ | ||
|
||
|
||
xcopy %target_dir%\source\mingw_qt_dll_setup.bat %target_dir%\ | ||
cd %target_dir% | ||
call mingw_qt_dll_setup.bat | ||
cd .. | ||
del %target_dir%\mingw_qt_dll_setup.bat | ||
|
||
|
||
xcopy %build_dir%\engine\simc.exe %target_dir%\ | ||
xcopy %build_dir%\release\SimulationCraft.exe %target_dir%\ | ||
xcopy Win32OpenSSL_Light-1_0_1c.exe %target_dir%\ | ||
|
||
REM remove tmp build dir | ||
rd /Q /S %build_dir% | ||
|
||
|
||
call %ARCHIVER% simc-%version%-win32.zip %target_dir% |
This file was deleted.
Oops, something went wrong.