From 108bee184c3535ebbd8b72cb09149d2fac3a572f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Lemi=C3=A8re?= Date: Mon, 6 Jun 2016 14:56:27 +0200 Subject: [PATCH] Allow modification of project config in the command line (#687) --- tools/CommandLineTools.hx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/CommandLineTools.hx b/tools/CommandLineTools.hx index ae6229261..8164379ce 100644 --- a/tools/CommandLineTools.hx +++ b/tools/CommandLineTools.hx @@ -1352,6 +1352,10 @@ class CommandLineTools { project.templatePaths.push (projectDefines.get (key)); + } else if (field == "config") { + + project.config.set (attribute, projectDefines.get (key)); + } else { if (Reflect.hasField (project, field)) {