mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05:00
617ed25a19
- Removed commandline switch "version" - Added MinGit for determining version information during compile process - Added sigcheck to determine version of the executable
24 lines
582 B
Batchfile
24 lines
582 B
Batchfile
@echo off
|
|
|
|
setlocal
|
|
|
|
:: Initialize environment
|
|
call "%~dp0env.bat"
|
|
if errorlevel 1 goto error_env
|
|
call "%EnvPath%\env.bat"
|
|
if errorlevel 1 goto error_env
|
|
|
|
%cecho% info "Build %SourceName%"
|
|
call "%~dp0build\build.bat" 32 release autologin plugins
|
|
if errorlevel 1 %cecho% error "Failed to build %SourceName%." & exit /B %ERRORLEVEL%
|
|
|
|
%cecho% info "Pack %SourceName%"
|
|
call "%~dp0build\pack.bat" 32 release
|
|
if errorlevel 1 %cecho% error "Failed to pack %SourceName%." & exit /B %ERRORLEVEL%
|
|
|
|
exit /B 0
|
|
|
|
:error_env
|
|
echo Failed to initialize environment.
|
|
exit /B 1
|