mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-31 00:15:54 -04:00
19 lines
457 B
Plaintext
19 lines
457 B
Plaintext
@set javacfound = 0
|
|
@for %x in (%path) do (@echo %x\javac.exe)
|
|
|
|
@rem @echo javacfound = %javacfound
|
|
|
|
@set DATAPATH=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
|
|
|
@rem @if not exist %DATAPATH md %DATAPATH
|
|
|
|
@if "%1" == "" goto all
|
|
|
|
@for %x in (%1) do (javac.exe -g:none -O -sourcepath ..\. -classpath %DATAPATH -d %DATAPATH %x)
|
|
@goto end
|
|
|
|
:all
|
|
@for %x in (*.java) do (javac.exe -g:none -O -sourcepath ..\. -classpath %DATAPATH -d %DATAPATH %x)
|
|
|
|
:end
|