Skip to content

Commit

Permalink
save work
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrowder committed May 20, 2024
1 parent 999c2ed commit c9953e7
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions lib/Mi6/Utils.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,11 @@ sub lint($dir, :$debug, --> Str) is export {

# other possible improvements

#================
# check for obsolete file names
my %ns = find-non-standard-suffixes $dir;


#================
# check the .github/workflows file(s) for recommended "zef test . --debug"
$res = check-ci-tests $dir;
Expand Down Expand Up @@ -335,4 +340,26 @@ sub get-basename-hash(@arr, :$debug --> Hash) {
} # sub get-basename-hash(@arr, :$debug --> Hash) {

sub check-ci-tests(IO::Path $dir, :$debug --> Str) {
say "Tom, fix this";
} # sub check-ci-tests(IO::Path $dir, :$debug --> Str) {

sub check-changes(IO::Path $dit, :$debug --> Str) {
say "Tom, fix this";
}

sub check-meta-vs-resources(IO::Path $dit, :$debug --> Str) {
say "Tom, fix this";
}

sub check-repo-source(%meta, :$debug --> Str) {
say "Tom, fix this";
}

sub check-use-depends(IO::Path $dit, :$debug --> Str) {
say "Tom, fix this";
}

sub find-used-files($dir, :$debug --> Hash) {
# look in: test files, raku files, module files
# return a hash: key: type, value: list of paths
} # sub find-used-files($dir, :$debug --> Hash) {

0 comments on commit c9953e7

Please sign in to comment.