diff --git a/dastworx/build.bat b/dastworx/build.bat new file mode 100644 index 00000000..096c1f02 --- /dev/null +++ b/dastworx/build.bat @@ -0,0 +1,29 @@ +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 \ No newline at end of file diff --git a/dastworx/build.sh b/dastworx/build.sh index 5bb3a90c..2a745715 100644 --- a/dastworx/build.sh +++ b/dastworx/build.sh @@ -1,6 +1,5 @@ cd .. git submodule update --init -git submodule foreach git checkout master cd dastworx #iz sources