Skip to content

Commit

Permalink
Extend usable legacy builder files
Browse files Browse the repository at this point in the history
  • Loading branch information
2colours committed Jan 5, 2024
1 parent 48a3d2c commit e63a265
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Ddt/Plugins/Build.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ use Ddt;
use Ddt::Distribution;
unit module Ddt::Plugins::Build;

constant builder-extensions = <pm pm6 rakumod>;

#| Build the module in current directory
multi MAIN("build") is export
{
my $ddt = Ddt::Distribution.new: TOPDIR;
$ddt.generate-README;
$ddt.generate-META6;
return unless "Build.pm".IO.e;
return unless "Build".IO.extension(builder-extension.any, :0parts).f;
run "zef", "build", ".";
}

0 comments on commit e63a265

Please sign in to comment.