开发者

Writing a Build Script for a Play! Framework application

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.

So for example, if I wanted to add checkstyle and clover to my build, I could easily write开发者_C百科 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.


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.

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.


There isn't a "Play" way that I know of, either. I've used Gradle in the past with some Play apps to do that kind of stuff.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜