mirror of
https://github.com/corda/corda.git
synced 2024-12-20 05:28:21 +00:00
21 lines
453 B
Batchfile
21 lines
453 B
Batchfile
|
@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
|
||
|
@echo
|
||
|
@echo "Wrote installer to %DIRNAME%\build\javapackage\bundles\"
|
||
|
@echo
|
||
|
goto end
|
||
|
|
||
|
:NoJavaHome
|
||
|
@echo "Please set JAVA_HOME correctly"
|
||
|
|
||
|
:end
|