47 lines
1.3 KiB
Batchfile
47 lines
1.3 KiB
Batchfile
@echo off
|
|
echo Stopping any running Gradle daemons...
|
|
call gradlew.bat --stop
|
|
echo.
|
|
echo Deleting corrupted build folders...
|
|
if exist fineract-provider\build (
|
|
echo Deleting fineract-provider\build...
|
|
rmdir /s /q fineract-provider\build
|
|
)
|
|
if exist fineract-command\build (
|
|
echo Deleting fineract-command\build...
|
|
rmdir /s /q fineract-command\build
|
|
)
|
|
if exist fineract-core\build (
|
|
echo Deleting fineract-core\build...
|
|
rmdir /s /q fineract-core\build
|
|
)
|
|
if exist fineract-accounting\build (
|
|
echo Deleting fineract-accounting\build...
|
|
rmdir /s /q fineract-accounting\build
|
|
)
|
|
if exist fineract-charge\build (
|
|
echo Deleting fineract-charge\build...
|
|
rmdir /s /q fineract-charge\build
|
|
)
|
|
if exist fineract-cob\build (
|
|
echo Deleting fineract-cob\build...
|
|
rmdir /s /q fineract-cob\build
|
|
)
|
|
if exist fineract-document\build (
|
|
echo Deleting fineract-document\build...
|
|
rmdir /s /q fineract-document\build
|
|
)
|
|
if exist fineract-branch\build (
|
|
echo Deleting fineract-branch\build...
|
|
rmdir /s /q fineract-branch\build
|
|
)
|
|
if exist fineract-avro-schemas\build (
|
|
echo Deleting fineract-avro-schemas\build...
|
|
rmdir /s /q fineract-avro-schemas\build
|
|
)
|
|
echo.
|
|
echo Build folders deleted successfully.
|
|
echo Now you can run: .\gradlew devRun
|
|
echo.
|
|
pause
|