From d1443a2565b6a9298df1e588731d623454cb04e7 Mon Sep 17 00:00:00 2001 From: Pete Higgins Date: Wed, 13 May 2020 13:12:51 -0700 Subject: Remove check for cspell from Rakefile. Signed-off-by: Pete Higgins --- Rakefile | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index de956ded01..5d09fc1f45 100644 --- a/Rakefile +++ b/Rakefile @@ -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' -- cgit v1.2.1