首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Haxe: openfl测试工程,但不是石灰构建。

Haxe: openfl测试工程,但不是石灰构建。
EN

Stack Overflow用户
提问于 2018-01-20 20:31:01
回答 1查看 364关注 0票数 2

我正在将我的所有项目移动到IntelliJ中的各个模块,而不是在整个git中有一个模块,并且我的IntelliJ构建停止了工作。我注意到它使用莱姆构建,即使我的模块被设置为openfl (据我所知,它总是有)。

代码语言:javascript
复制
openfl test flash -debug

这行得通

代码语言:javascript
复制
lime build GassyRickAstley.xml flash -debug -verbose

这就不是了。两个-v的全部要点

代码语言:javascript
复制
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$ 

似乎没有出什么问题,但我对终端输出的分析很烂。

现在我可以手动构建,但是没有断点会变得非常糟糕,非常快。任何帮助都是非常感谢的。

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

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-01-22 04:21:21

看上去可能很管用。openfl test flash类似于运行openfl build flash && openfl run flash,而后者的行为实际上应该与lime build flash && lime run flash相同。

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

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48360772

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档