osx 从命令行编译 AS3 项目
当处理小型项目或一些测试类时,我更喜欢从命令行快速编译代码,而不是在 Flash Builder 中创建完整的 Actionscript 项目。
之前在一个类似的问题中,参考这篇文章给出了答案: 但是
这是针对 Windows 用户的...
我查看了 ProjectSprouts,它看起来很棒,但对于我正在寻找的任务来说太繁重了。
您是否知道任何可用于从 Mac OSX 上的终端快速编译 swf 的替代方法?
When working on small projects or some test classes , I would prefer to quickly compile my code from the command line as opposed to creating a full Actionscript project in Flash Builder for instance.
In a previous similar question , an answer was given referring to this article:
http://www.senocular.com/flash/tutorials/as3withmxmlc/
but this is for Windows user...
I had a look at ProjectSprouts, which seems excellent but too heavy for the sort of task I'm looking for.
Would you know of any alternative approach that could be used to quickly compile a swf from the Terminal on Mac OSX?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不确定您的项目有多复杂,但与您链接到的文章使用的方法非常相似的方法可能是一种简单的方法。假设您已从 Flash SDK 中获取了
mxmlc
程序,您只需设置一个Makefile
即可,如下所示:I'm not sure how complex your project is, but something fairly similar to the method the article you linked to uses is probably an easy way to go. Assuming you've got the
mxmlc
program from the Flash SDK somewhere, you could just set up aMakefile
like so:好的,通过以下教程找到了答案
http://disruption.ca/archives/actionscript-and-mxmlc/
有效,就像这样做一样简单
Ok, found the answer with the following tutorial
http://disruption.ca/archives/actionscript-and-mxmlc/
Effectively , it's as simple as doing this