From 540d3f495acf9aca0c64057743daa43377e589ee Mon Sep 17 00:00:00 2001 From: sinkuu Date: Sun, 24 Aug 2014 08:02:03 +0900 Subject: [PATCH] toJson doesn't return buildTypes --- source/dub/recipe/json.d | 1 + 1 file changed, 1 insertion(+) diff --git a/source/dub/recipe/json.d b/source/dub/recipe/json.d index 78d166fb1..bfe010b0d 100644 --- a/source/dub/recipe/json.d +++ b/source/dub/recipe/json.d @@ -101,6 +101,7 @@ Json toJson(in ref PackageRecipe recipe) Json[string] types; foreach (name, settings; recipe.buildTypes) types[name] = settings.toJson(); + ret.buildTypes = types; } if (!recipe.ddoxFilterArgs.empty) ret["-ddoxFilterArgs"] = recipe.ddoxFilterArgs.serializeToJson(); return ret;