From 0ee8ed8cd8668ecde8a505653c51d2364020e531 Mon Sep 17 00:00:00 2001 From: shmyga Date: Mon, 25 Feb 2019 17:37:17 +0300 Subject: [PATCH] [haxe] add dom flag support --- haxetool/haxe.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/haxetool/haxe.js b/haxetool/haxe.js index 58fd4cf..cf8d56a 100755 --- a/haxetool/haxe.js +++ b/haxetool/haxe.js @@ -89,6 +89,9 @@ class Haxe extends Sdk { fs.writeFileSync(path.resolve(buildDir, 'project.xml'), project); const args = ['-cwd', buildDir, 'run', 'openfl', command, platform]; + if (config.flags.dom) { + args.push('-Ddom'); + } if (debug) { args.push('-debug'); } @@ -195,4 +198,4 @@ Haxe.VERSION_3_4_7 = '3.4.7'; Haxe.VERSION_3 = Haxe.VERSION_3_4_7; Haxe.VERSION = Haxe.VERSION_3; -module.exports = Haxe; \ No newline at end of file +module.exports = Haxe;