From 1352c133c82b9893f82117dd439a671ffdbbec28 Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev <108007295+VPanteleev-S7@users.noreply.github.com> Date: Thu, 28 Aug 2025 12:56:15 +0000 Subject: [PATCH] dub.sdl: Use rdmd for preGenerateCommands Speeds up repeated execution, which becomes the main bottleneck e.g. when using from reggae. --- dub.sdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dub.sdl b/dub.sdl index c5646f4..d9bbe9d 100644 --- a/dub.sdl +++ b/dub.sdl @@ -7,7 +7,7 @@ configuration "library-autodetect" { targetType "sourceLibrary" libs "ssl" "crypto" platform="posix" excludedSourceFiles "source/deimos/openssl/applink.d" - preGenerateCommands `$DC -run scripts/generate_version.d` platform="posix" + preGenerateCommands `rdmd --compiler=$DC scripts/generate_version.d` platform="posix" versions `DeimosOpenSSLAutoDetect` }