Skip to content

Instantly share code, notes, and snippets.

@bdunnette
Last active September 14, 2018 18:22
Show Gist options
  • Save bdunnette/883d3c07795eb341f1d8718a00da16ae to your computer and use it in GitHub Desktop.
Save bdunnette/883d3c07795eb341f1d8718a00da16ae to your computer and use it in GitHub Desktop.
SET startdir=%CD%
cd qupath
FOR /F "tokens=* USEBACKQ" %%F IN (`git rev-parse --short HEAD`) DO (
SET githash=%%F
)
ECHO %githash%
SET zipfile=qupath-%githash%-win.zip
ECHO %zipfile%
call gradlew.bat clean
call gradlew.bat jfxNative
cd build\jfx\native
7z a %startdir%\%zipfile% *
cd %startdir%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment