# FIXME Change when Moose goes away
installdeps Moose $(perl -Ilib -MDBIx::Class::Optional::Dependencies=-list_missing,dist_dir)
- run_or_err "Attempt to build a dist" "rm -rf inc/ && perl Makefile.PL --skip-author-deps && make dist"
+ run_or_err "Attempt to build a dist" "rm -rf inc/ && perl Makefile.PL && make dist"
tarball_assembled=1
elif [[ "$CLEANTEST" != "true" ]] ; then
export $e=""
done
+ # FIXME - for some reason a plain `cpan .` does not work in this case
+ # no time to investigate
run_or_err \
"Attempt to configure/test/build/install dist using latest CPAN@$(perl -MCPAN -e 'print CPAN->VERSION')" \
- "cpan ."
+ "perl -MCPAN -e 'install( q{.} )'"
else
run_or_err \