Added a solution to generate only GPL version.
This commit is contained in:
@@ -86,50 +86,61 @@ remtrace Creating WIX files
|
||||
espawn -u:%ISE_C_COMPILER_VER% "nmake /nologo clean"
|
||||
espawn -u:%ISE_C_COMPILER_VER% "nmake /nologo"
|
||||
|
||||
remtrace Preparing GPL edition
|
||||
espawn -u:%ISE_C_COMPILER_VER% "nmake /nologo gpl_%WINNAME"
|
||||
safe_copy %INIT_DIR\install\bin\studio_gpl_%WINNAME\package.msi %INSTALL_DIR\setups\gpl\%STUDIO_NAME%_gpl_%SVN_VERSION-%ISE_PLATFORM%.msi
|
||||
iff not NO_GPL_BUILD then
|
||||
remtrace Preparing GPL edition
|
||||
espawn -u:%ISE_C_COMPILER_VER% "nmake /nologo gpl_%WINNAME"
|
||||
safe_copy %INIT_DIR\install\bin\studio_gpl_%WINNAME\package.msi %INSTALL_DIR\setups\gpl\%STUDIO_NAME%_gpl_%SVN_VERSION-%ISE_PLATFORM%.msi
|
||||
endiff
|
||||
|
||||
remtrace Preparing Commercial edition
|
||||
espawn -u:%ISE_C_COMPILER_VER% "nmake /nologo enterprise_%WINNAME"
|
||||
safe_copy %INIT_DIR\install\bin\studio_ent_%WINNAME\package.msi %INSTALL_DIR\setups\enterprise\%STUDIO_NAME%_ent_%SVN_VERSION-%ISE_PLATFORM%.msi
|
||||
iff not NO_ENTERPRISE_BUILD then
|
||||
remtrace Preparing Commercial edition
|
||||
espawn -u:%ISE_C_COMPILER_VER% "nmake /nologo enterprise_%WINNAME"
|
||||
safe_copy %INIT_DIR\install\bin\studio_ent_%WINNAME\package.msi %INSTALL_DIR\setups\enterprise\%STUDIO_NAME%_ent_%SVN_VERSION-%ISE_PLATFORM%.msi
|
||||
endiff
|
||||
|
||||
|
||||
remtrace ----------------------------------------------
|
||||
remtrace Building the Zips
|
||||
remtrace ----------------------------------------------
|
||||
cdd %INSTALL_DIR
|
||||
ren EiffelStudio %STUDIO_NAME%
|
||||
|
||||
safe_copy %INSTALL_DIR\releases\gpl_version\ec.exe %INSTALL_DIR\%STUDIO_NAME%\studio\spec\%ISE_PLATFORM%\bin
|
||||
safe_copy %INSTALL_DIR\releases\gpl_version\ecb.exe %INSTALL_DIR\%STUDIO_NAME%\studio\spec\%ISE_PLATFORM%\bin
|
||||
iff exist %INSTALL_DIR\releases\gpl_version\LICENSE then
|
||||
safe_copy %INSTALL_DIR\releases\gpl_version\LICENSE %INSTALL_DIR\%STUDIO_NAME%\LICENSE
|
||||
else
|
||||
remtrace Missing GPL license text
|
||||
iff not NO_GPL_BUILD then
|
||||
ren EiffelStudio %STUDIO_NAME%
|
||||
remtrace GPL archive
|
||||
safe_copy %INSTALL_DIR\releases\gpl_version\ec.exe %INSTALL_DIR\%STUDIO_NAME%\studio\spec\%ISE_PLATFORM%\bin
|
||||
safe_copy %INSTALL_DIR\releases\gpl_version\ecb.exe %INSTALL_DIR\%STUDIO_NAME%\studio\spec\%ISE_PLATFORM%\bin
|
||||
iff exist %INSTALL_DIR\releases\gpl_version\LICENSE then
|
||||
safe_copy %INSTALL_DIR\releases\gpl_version\LICENSE %INSTALL_DIR\%STUDIO_NAME%\LICENSE
|
||||
else
|
||||
remtrace Missing GPL license text
|
||||
endiff
|
||||
7z a -t7z %INSTALL_DIR\setups\gpl\%STUDIO_NAME%_gpl_%SVN_VERSION-%ISE_PLATFORM%.7z %STUDIO_NAME% -mx9 >>& %INSTALL_LOG
|
||||
endiff
|
||||
7z a -t7z %INSTALL_DIR\setups\gpl\%STUDIO_NAME%_gpl_%SVN_VERSION-%ISE_PLATFORM%.7z %STUDIO_NAME% -mx9 >>& %INSTALL_LOG
|
||||
|
||||
safe_copy %INSTALL_DIR\releases\enterprise_version\ec.exe %INSTALL_DIR\%STUDIO_NAME%\studio\spec\%ISE_PLATFORM%\bin
|
||||
safe_copy %INSTALL_DIR\releases\enterprise_version\ecb.exe %INSTALL_DIR\%STUDIO_NAME%\studio\spec\%ISE_PLATFORM%\bin
|
||||
iff exist %INSTALL_DIR\releases\enterprise_version\LICENSE then
|
||||
safe_copy %INSTALL_DIR\releases\enterprise_version\LICENSE %INSTALL_DIR\%STUDIO_NAME%\LICENSE
|
||||
else
|
||||
remtrace Missing Enterprise license text
|
||||
iff not NO_ENTERPRISE_BUILD then
|
||||
remtrace Enterprise archive
|
||||
safe_copy %INSTALL_DIR\releases\enterprise_version\ec.exe %INSTALL_DIR\%STUDIO_NAME%\studio\spec\%ISE_PLATFORM%\bin
|
||||
safe_copy %INSTALL_DIR\releases\enterprise_version\ecb.exe %INSTALL_DIR\%STUDIO_NAME%\studio\spec\%ISE_PLATFORM%\bin
|
||||
iff exist %INSTALL_DIR\releases\enterprise_version\LICENSE then
|
||||
safe_copy %INSTALL_DIR\releases\enterprise_version\LICENSE %INSTALL_DIR\%STUDIO_NAME%\LICENSE
|
||||
else
|
||||
remtrace Missing Enterprise license text
|
||||
endiff
|
||||
7z a -t7z %INSTALL_DIR\setups\enterprise\%STUDIO_NAME%_ent_%SVN_VERSION-%ISE_PLATFORM%.7z %STUDIO_NAME% -mx9 >>& %INSTALL_LOG
|
||||
endiff
|
||||
7z a -t7z %INSTALL_DIR\setups\enterprise\%STUDIO_NAME%_ent_%SVN_VERSION-%ISE_PLATFORM%.7z %STUDIO_NAME% -mx9 >>& %INSTALL_LOG
|
||||
|
||||
remtrace Restoring the layout to its original state
|
||||
cdd %INSTALL_DIR
|
||||
ren %STUDIO_NAME% EiffelStudio
|
||||
|
||||
remtrace Uploading packages online
|
||||
cdd %INSTALL_DIR\setups\gpl
|
||||
share_delivery %STUDIO_NAME%_gpl_%SVN_VERSION%-%ISE_PLATFORM%.msi
|
||||
share_delivery %STUDIO_NAME%_gpl_%SVN_VERSION%-%ISE_PLATFORM%.7z
|
||||
iff not NO_GPL_BUILD then
|
||||
cdd %INSTALL_DIR\setups\gpl
|
||||
share_delivery %STUDIO_NAME%_gpl_%SVN_VERSION%-%ISE_PLATFORM%.msi
|
||||
share_delivery %STUDIO_NAME%_gpl_%SVN_VERSION%-%ISE_PLATFORM%.7z
|
||||
endiff
|
||||
|
||||
fullrf %INSTALL_DIR\EiffelStudio\studio\spec\%ISE_PLATFORM%\bin\ec.exe
|
||||
fullrf %INSTALL_DIR\EiffelStudio\studio\spec\%ISE_PLATFORM%\bin\ecb.exe
|
||||
fullrf %INSTALL_DIR\%STUDIO_NAME%\studio\spec\%ISE_PLATFORM%\bin\ec.exe
|
||||
fullrf %INSTALL_DIR\%STUDIO_NAME%\studio\spec\%ISE_PLATFORM%\bin\ecb.exe
|
||||
|
||||
remtrace Your deliveries are now ready
|
||||
cdd %INIT_DIR
|
||||
|
||||
Reference in New Issue
Block a user