3

我希望我的 rebar3 应用程序能够测试自身及其所有依赖项。rebar3有可能吗?我创建了一个简单的“测试”插件,它试图rebar_prv_eunit:do/1在项目中的所有应用程序及其依赖项上执行,但它不起作用。

这是它的代码https://github.com/kubaodias/rebar3-test-plugin

4

1 回答 1

0

ls -d */ | xargs -I {} bash -c "cd {} ; rebar3 eunit; cd -"

于 2020-11-23T21:20:46.123 回答