Skip to content

Commit

Permalink
add overview comment, search only docs
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Oct 19, 2016
1 parent de336e6 commit 803b711
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions xt/aspell.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,22 @@ use v6;
use Test;
use lib 'lib';

=begin overview
Spell check all the pod files in the documentation directory.
Ignore case, and provide a repo-specific list of approved words,
which include technical jargon, method and class names, etc.
=end overview

my @files;

if @*ARGS {
@files = @*ARGS;
} else {
for qx<git ls-files>.lines -> $file {
next unless $file ~~ /^ 'doc' /;
next unless $file ~~ / '.pod6' $/;
next if $file ~~ / 'contributors.pod6' $/; # names are hard.
push @files, $file;
Expand Down

0 comments on commit 803b711

Please sign in to comment.