0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

plenv + carton で prove -Mlib::core::only 指定

Posted at

plenv + carton でテスト時に -Mlib::core::only 指定してデプロイ時に module 足りんよ...とかって突っ返されないようにしてるけど、この3者間の PATH 調整がいろいろと面倒。

carton をバージョンアップしたら -Ilib オプションが deprecated されててまた迷子になった...Orz。

起動順とかオプションで整合性を合わせられるかと思ったけど、結局のところ、

.proverc
--exec "plenv exec perl -Mlib::core::only -Mlib=lib -Mlib=local/lib/perl5"
-Pretty
--merge
--failures
--verbose
--recurse
-w

のような lib::core::only を全面にした .proverc に落ち着いた。

ちなみに、試したバージョンは以下の通り。バージョンアップされるとまた変わるかも...。

  • plenv 1.4.14
  • carton 1.0.12
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?