Last active
March 12, 2017 08:28
-
-
Save dvtate/5162d14b10192b62f65ab58e45eee17a to your computer and use it in GitHub Desktop.
people like to click on things.... Holy shit M$ batch sucks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@if "%DEBUG%" == "" @echo off | |
echo I had to make this to run the command for me... | |
echo Starting GRIP... | |
choice /c:ync /n /m "Run offline? (y/N/cancel)" | |
if errorlevel 3 exit | |
if errorlevel == 1 ( | |
echo running using previous build... | |
gradlew.bat :ui:run --offline | |
) else ( | |
echo downloading and then running... | |
gradlew.bat :ui:run | |
) | |
echo "Job completed, Have a good day :)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment