编写构建脚本的游戏!应用框架 [英] Writing a Build Script for a Play! Framework application

查看:100
本文介绍了编写构建脚本的游戏!应用框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是如何写的人建立他们的游戏应用程序?
据我所知,您可以运行在命令行起到自动测试,不过,我想多做一点不仅仅是执行测试。

How are people writing builds for their Play applications? I understand that you can run play auto-test on the command-line, however, I would like to do a bit more than just execute the tests.

因此​​,举例来说,如果我想的Checkstyle和三叶草添加到我的身材,我可以很容易地编写一个Ant脚本,将检查这两件事情,如果有任何的Checkstyle错误或三叶草覆盖失败不是90%。

So for example, if I wanted to add checkstyle and clover to my build, I could easily write an Ant script that would check those two things and fail if there are any checkstyle errors or the clover coverage is not 90%.

我只是想知道是否已经是做什么我刚才所描述的播放的方式。

I was just wondering whether there already was a "Play" way of doing what I have just described.

推荐答案

不是,还不如据我所知,虽然有插件使用Ant / Maven的在玩,你可以尝试将它们集成。但用户可以跳过然后,使用正常发挥。

not, not as far as I know, although there are addons to use ant/maven in Play, you could try to integrate them. But users may skip then and use the normal play.

一个想法是修改播放python脚本运行任何行动之前,这些验证,但这需要所有的开发人员使用该修改的脚本。

An idea would be to modify the Play python script to run these validations before any action, but that would require all developers to use that modified script.

这篇关于编写构建脚本的游戏!应用框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆