简体   繁体   English

Bundler-Audit:如何实现“捆绑安装”后的钩子?

[英]Bundler-Audit: How to implement post-“bundle install” hook?

I recently discovered the bundler-audit gem, and I'm interested in creating a hook that runs bundler-audit after all of my normal bundler commands (install, update, etc). 我最近发现了bundler-audit的 gem,我对创建一个在我所有常规的bundler命令(安装,更新等)之后运行bundler-audit的钩子感兴趣。

What's the best way to go about this? 最好的方法是什么?

虽然可能有更好的方法,但我当前的解决方案是仅使用bash函数/别名。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM