[haxe] add dom flag support
This commit is contained in:
@@ -89,6 +89,9 @@ class Haxe extends Sdk {
|
|||||||
fs.writeFileSync(path.resolve(buildDir, 'project.xml'), project);
|
fs.writeFileSync(path.resolve(buildDir, 'project.xml'), project);
|
||||||
|
|
||||||
const args = ['-cwd', buildDir, 'run', 'openfl', command, platform];
|
const args = ['-cwd', buildDir, 'run', 'openfl', command, platform];
|
||||||
|
if (config.flags.dom) {
|
||||||
|
args.push('-Ddom');
|
||||||
|
}
|
||||||
if (debug) {
|
if (debug) {
|
||||||
args.push('-debug');
|
args.push('-debug');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user