diff --git a/dub.json b/dub.json index 6a166c5..a94e40e 100644 --- a/dub.json +++ b/dub.json @@ -18,5 +18,20 @@ ], "preBuildCommands": [ "./install-debian-dependencies.sh" - ] + ], + "buildTypes": { + "debug": { + "buildOptions": [ + "debugMode", + "debugInfo" + ] + }, + "release": { + "buildOptions": [ + "releaseMode", + "inline", + "optimize" + ] + } + } }