[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');
|
||||||
}
|
}
|
||||||
@@ -195,4 +198,4 @@ Haxe.VERSION_3_4_7 = '3.4.7';
|
|||||||
Haxe.VERSION_3 = Haxe.VERSION_3_4_7;
|
Haxe.VERSION_3 = Haxe.VERSION_3_4_7;
|
||||||
Haxe.VERSION = Haxe.VERSION_3;
|
Haxe.VERSION = Haxe.VERSION_3;
|
||||||
|
|
||||||
module.exports = Haxe;
|
module.exports = Haxe;
|
||||||
|
|||||||
Reference in New Issue
Block a user