Created
December 5, 2017 12:58
-
-
Save niczero/451494a8d6eb6f0e3ab619c86fd2d759 to your computer and use it in GitHub Desktop.
Create a cpanfile for BestPractical RT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make testdeps mistakenly uses system perl | |
# so we munge it | |
perl sbin/rt-test-dependencies --with-standalone 2>&1 \ | |
| grep MISSING \ | |
| perl -plE's/^\s+//; my $v = s/\s>=\s(\S+)// ? $1 : undef; s/\s.*$//; $_ = qq{requires \x27$_\x27}; $_ .= qq{ => $v} if $v; $_ .= q{;}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment