Redo
This commit is contained in:
14
build.bat
14
build.bat
@@ -1,14 +1,14 @@
|
||||
@echo off
|
||||
echo Building SmartCraft Notifier...
|
||||
echo Building SmartCraftNotifier...
|
||||
|
||||
REM Run Maven clean & package
|
||||
:: Ensure Maven is installed and on your PATH
|
||||
mvn clean package
|
||||
|
||||
IF %ERRORLEVEL% NEQ 0 (
|
||||
echo Build failed! Check errors above.
|
||||
pause
|
||||
exit /b %ERRORLEVEL%
|
||||
:: Check if build succeeded
|
||||
if exist target\SmartCraftNotifier.jar (
|
||||
echo Build successful! JAR located at: target\SmartCraftNotifier.jar
|
||||
) else (
|
||||
echo Build failed. Check for errors above.
|
||||
)
|
||||
|
||||
echo Build completed! Check the 'target' folder for your .jar
|
||||
pause
|
Reference in New Issue
Block a user