Commit dc15b244 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Add spellcheck_test script (#5655)

parent d9ca530b
#!/usr/bin/env ruby
# This test checks for spelling errors and provides suggested changes.
require_relative '../lib/const'
require_relative '../lib/color'
unless File.exist? "#{CREW_PREFIX}/bin/codespell"
puts "This test requires codespell. Install with 'pip install codespell'.".lightred
end
# Check for spelling errors.
Dir.chdir '../' do
system 'codespell'
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment