Skip to content

Commit

Permalink
save work
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrowder committed May 17, 2024
1 parent cc07f6e commit 7a2f1c7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Mi6/Utils.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -195,24 +195,24 @@ sub lint($dir, :$debug, --> Str) is export {
# to the user

# get contents of the resources file
my @r = find :dir("$dir/resources");
if 1 {
my @r = find :dir("$dir/resources"); # TODO type file
if $debug {
say "DEBUG dir resources:";
say " $_" for @r;
}

# get contents of the META6.json file
my %m = from-json(slurp "$dir/META6.json");
my @r2 = @(%m<resources>);
if 1 {
if $debug {
say "DEBUG META6.json resources:";
say " $_" for @r2;
}

#=====
# Compare the two
# the files in META6.json do not have to be under the 'resources'
# directory but they must referenced as relative to it and exist
# directory, but they must referenced as relative to it and exist
# in the file tree


Expand Down
Empty file added t/data/Foo/META6.json
Empty file.
4 changes: 4 additions & 0 deletions t/data/Foo/lib/Foo.pm6
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
unit class Foo;

use Bar;

0 comments on commit 7a2f1c7

Please sign in to comment.