diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-05-13 13:12:51 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-05-18 20:29:40 -0700 |
commit | d1443a2565b6a9298df1e588731d623454cb04e7 (patch) | |
tree | a01c9f0c16ca435e046621b2e14f891380ffdeab | |
parent | 6cfbf518fc8f8786210af279a7cd65f6b6a79ddb (diff) | |
download | chef-d1443a2565b6a9298df1e588731d623454cb04e7.tar.gz |
Remove check for cspell from Rakefile.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
-rw-r--r-- | Rakefile | 20 |
1 files changed, 8 insertions, 12 deletions
@@ -109,18 +109,14 @@ rescue LoadError puts "yard is not available. bundle install first to make sure all dependencies are installed." end -if `command -v cspell`.empty? - puts "cspell is not available. Run `npm install -g cspell` to make it available." -else - namespace :spellcheck do - task :run do - sh 'cspell "**/*" "*.md"' - end - - task :unknown_words do - sh 'cspell "**/*" "*.md" --wordsOnly --no-summary | sort | uniq' - end +namespace :spellcheck do + task :run do + sh 'cspell "**/*" "*.md"' end - task spellcheck: 'spellcheck:run' + task :unknown_words do + sh 'cspell "**/*" "*.md" --wordsOnly --no-summary | sort | uniq' + end end + +task spellcheck: 'spellcheck:run' |