diff --git a/build-files.txt b/build-files.txt new file mode 100644 index 0000000..ff9884d --- /dev/null +++ b/build-files.txt @@ -0,0 +1,27 @@ +source/app.d +source/dub/dependency.d +source/dub/dub.d +source/dub/installation.d +source/dub/packagemanager.d +source/dub/packagesupplier.d +source/dub/package_.d +source/dub/platform.d +source/dub/project.d +source/dub/registry.d +source/dub/utils.d +source/dub/compilers/compiler.d +source/dub/compilers/dmd.d +source/dub/compilers/gdc.d +source/dub/compilers/ldc.d +source/dub/generators/build.d +source/dub/generators/generator.d +source/dub/generators/monod.d +source/dub/generators/rdmd.d +source/dub/generators/visuald.d +source/dub/internal/std/process.d +source/dub/internal/vibecompat/core/file.d +source/dub/internal/vibecompat/core/log.d +source/dub/internal/vibecompat/data/json.d +source/dub/internal/vibecompat/data/utils.d +source/dub/internal/vibecompat/inet/path.d +source/dub/internal/vibecompat/inet/url.d \ No newline at end of file diff --git a/build.cmd b/build.cmd index a558756..9785743 100644 --- a/build.cmd +++ b/build.cmd @@ -1,7 +1,8 @@ @echo off +if "%DC%"=="" set DC=dmd -echo Executing rdmd ... -rdmd --force --build-only -ofbin\dub.exe -g -debug -w -property -Isource curl.lib %* source\app.d +echo Executing %DC%... +%DC% -ofbin\dub.exe -g -debug -w -property -Isource curl.lib %* @build-files.txt if errorlevel 1 exit /b 1 echo DUB has been built. You probably also want to add the following entry to your