blog/tasks/textlint.rake

7 lines
133 B
Ruby
Raw Normal View History

2019-03-31 11:00:21 +00:00
#!/usr/bin/env rake
desc 'Textlint the .md'
task :lint do
sh 'find . -type f -name "*.md" -mtime -1 | xargs -t -n 1 textlint'
end