繁体   English   中英

Haxe:openfl测试有效,但无法生成石灰

[英]Haxe: openfl test works but not lime build

我正在将所有项目移至IntelliJ中的单个模块,而不是在整个git repo中只有一个模块,而我的IntelliJ构建已停止工作。 我注意到即使我的模块设置为openfl,它也会使用石灰构建(据我所知一直如此)

openfl test flash -debug

这有效

lime build GassyRickAstley.xml flash -debug -verbose

这不是。 两者的全部要旨-v

Lime Command-Line Tools (2.9.1)

Initializing project...
Using project file: GassyRickAstley.xml
Warning: Could not read HXCPP config: /Users/booboo/.hxcpp_config.xml
Using target platform: FLASH

Running command: UPDATE
 - Embedding asset: removed for brevity
 - Copying template file: removed for brevity

Running command: BUILD
 - Running command: haxe -main ApplicationMain -cp /usr/local/lib/haxe/lib/flixel/git -D flixel=4.3.0 -cp /usr/local/lib/haxe/lib/openfl/3,6,1 -D openfl=3.6.1 -cp /usr/local/lib/haxe/lib/lime/2,9,1 -D lime=2.9.1 -cp /usr/local/lib/haxe/lib/actuate/1,8,7 -D actuate=1.8.7 -cp /usr/local/lib/haxe/lib/ash/1,5,4/src -D ash=1.5.4 -cp source -cp lib -cp /usr/local/lib/haxe/lib/openfl/3,6,1/extern -cp ../Krakel/source -cp ../../lib/HxAssert/src -D native-trace -D HXCPP_QUIET -D openfl-next -D tools=2.9.1 -D flash-use-stage -D no-compilation -D openfl-flash -D verbose=1 -D web --macro flixel.system.macros.FlxDefines.run() -swf-lib export/flash/obj/assets.swf -swf-version 11.8 -swf export/flash/bin/GassyRickAstley.swf -cp export/flash/haxe -debug

georges-mbp:Gassy Rick Astley booboo$ 

似乎没有什么地方出错,但是我对分析终端输出很不满意。

现在,我可以手动构建,但是没有断点会变得很la脚,很快。 任何帮助表示赞赏。

奖金问题 当我在打开fl中运行/测试项目并关闭游戏窗口时,活动的终端进程永远不会结束。 我必须关闭终端,重新打开并再次CD我的目录。 有没有解决的办法?

看起来可能有用。 openfl test flash与运行openfl build flash && openfl run flash相似,后者的行为实际上应与lime build flash && lime run flash

我认为您的lime build flash命令运行正常,但是由于应用程序完成了构建而正在退出。 如果您改用lime test flash ,它可能会像其他命令那样为您构建并运行?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM