grunt-git-newer

2020-02-15

grunt-git-newer

like grunt-newer, but for git-commits

grunt-git-newer

like grunt-newer, but for git-commits

It will filter your config.src(or config.files, or config.files.src...) down to just the ones that have changed between the current branch and master. If you are on master, it will test all of the files.

Configuration

As of now, there is no options. All you need to do is load the task, and prepend your task names with git-newer

So instead of

grunt.registerTask('default', ['mocha']);

you can use

grunt.registerTask('default', ['git-newer:mocha']);

Release History

1.0.0 - Initial Release 1.0.2 - Swap out synchronous spawn module, add branch name fallback for master 1.0.3 - Just write out own damn sync spawn function.

License

Copyright (c) 2014 Patrick Kettner. Licensed under the MIT license.

以上是 grunt-git-newer 的使用教程帮助文档。


上一篇:bmpackr
下一篇:simpl-schema
相关教程
关注微信

扫码加入 JavaScript 社区

相关文章

首次访问,需要验证
微信扫码,关注即可
(仅需验证一次)

欢迎加入 JavaScript 社区

号内回复关键字:

回到顶部