23 lines
504 B
Batchfile
23 lines
504 B
Batchfile
@ECHO OFF
|
|
:: Java Build Tool powered by EndMove
|
|
ECHO === Thanks using Java Build Tool By EndMove ===
|
|
ECHO.
|
|
|
|
ECHO [+] Cleaning build directory...
|
|
RMDIR /Q /S build
|
|
MD build
|
|
ECHO Cleaning done!
|
|
|
|
ECHO [+] Converting java to bytecode...
|
|
FOR /R ./src %%f IN (*.java) DO (
|
|
javac -d build -sourcepath src %%f
|
|
)
|
|
ECHO Converting done!
|
|
|
|
ECHO [+] Building executable file...
|
|
CD build
|
|
jar -cmf ../MANIFEST.NF built.jar .
|
|
ECHO Building done!
|
|
|
|
ECHO OK. Project has been built successfuly !
|
|
TIMEOUT /T 15 |