From 7f65e93cb6c82a767a71b9a0aa06db5103c51b49 Mon Sep 17 00:00:00 2001 From: Tom Browder Date: Wed, 8 May 2024 11:51:56 -0500 Subject: [PATCH] prep for new release --- Changes | 6 ++++++ lib/Mi6/Helper.rakumod | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index a220533..65fc28a 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,12 @@ Revision history for Mi6-Helper {{$NEXT}} + - Correct error in dist.ini: .yml extension was missing + - Correct error in 'method mi6-new-cmd': + + replaced line 38 reading + my $dir = "$!module-dir/lib"; + with + my $dir = "$module-dir/lib"; 0.11.4 2024-03-28T10:30:48-05:00 - Require App::Mi6:ver<3.0.5+> (which fixed its own problem diff --git a/lib/Mi6/Helper.rakumod b/lib/Mi6/Helper.rakumod index 8ae8988..21b8262 100644 --- a/lib/Mi6/Helper.rakumod +++ b/lib/Mi6/Helper.rakumod @@ -35,7 +35,7 @@ method mi6-new-cmd(:$parent-dir!, :$module-dir!, :$module-name!, :$debug, :$debu chdir $parent-dir; cmd "mi6 new --zef $module-name"; self.libdirs = :dir($module-dir), :type; - my $dir = "$!module-dir/lib"; + my $dir = "$module-dir/lib"; self.libfile = find :$dir, :type; } @@ -86,7 +86,7 @@ sub get-file-content($fnam --> Str) is export { %?RESOURCES{$fnam}.slurp; } -sub mi6-helper-new(:$parent-dir!, :$module-dir, :$module-name!, :$provides, +sub mi6-helper-new(:$parent-dir!, :$module-dir, :$module-name!, :$provides, :$debug, :$debug2) is export { # test module is "Foo::Bar-Baz"