mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-05 01:25:50 +01:00
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:
parent
6f15560f48
commit
7a27131fe2
8
gradlew.bat
vendored
8
gradlew.bat
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user