Minimal misc changes to improve developments (#6)

* Better Fail handling

Change the `fail` block for a more "developer-friendly" environment

* Rename gradlew to gradlew.sh

Renaming the file will enable other developers to easier understand the file tree and not mix it with files like LICENSE and other markdown files
This commit is contained in:
Yonatan Mark Liudmirsky 2022-05-07 10:47:06 -07:00 committed by GitHub
parent 6f15560f48
commit 7a27131fe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

8
gradlew.bat vendored
View File

@ -73,10 +73,10 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
@rem pause the application before exiting so the user can see the error message and logs
@rem exit with the errorlevel for further processing
pause
exit /b %ERRORLEVEL%
:mainEnd
if "%OS%"=="Windows_NT" endlocal

View File