CORPRIV-658: Add BAT file to create unsigned DemoBench.exe.

This commit is contained in:
Chris Rankin 2017-02-10 11:41:52 +00:00
parent ab744f4159
commit cb74137641

17
package-demobench.bat Normal file
View File

@ -0,0 +1,17 @@
@echo off
@rem Creates an EXE installer for DemoBench.
@rem Assumes that Inno Setup 5+ has already been installed (http://www.jrsoftware.org/isinfo.php)
if not defined JAVA_HOME goto NoJavaHome
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
call %DIRNAME%\gradlew -PpackageType=exe javapackage
goto end
:NoJavaHome
echo "Please set JAVA_HOME correctly"
:end