mirror of https://gitlab.com/basile.b/dexed.git
29 lines
589 B
Batchfile
29 lines
589 B
Batchfile
cd ..
|
|
git submodule update --init
|
|
::git submodule foreach git checkout master
|
|
cd dastworx
|
|
|
|
::iz sources
|
|
set iz=
|
|
for /r "../etc/iz/import/" %%F in (*.d) do call set iz=%%iz%% "%%F"
|
|
|
|
::dparse sources
|
|
set dparse=
|
|
for /r "../etc/libdparse/src/" %%F in (*.d) do call set dparse=%%dparse%% "%%F"
|
|
|
|
::dast sources
|
|
set dast=
|
|
for /r "src/" %%F in (*.d) do call set dast=%%dast%% "%%F"
|
|
|
|
echo building...
|
|
|
|
::build
|
|
dmd %dast% %dparse% %iz% ^
|
|
-O -release -inline -boundscheck=off ^
|
|
-Isrc -I"..\etc\iz\import" -I"..\etc\libdparse\src" ^
|
|
-of"..\bin\dastworx"
|
|
|
|
::cleanup
|
|
del ..\bin\dastworx.o
|
|
|
|
echo ...done |