Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Add rubocop and haml-lint to default task
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroPointEnergy committed Sep 5, 2018
1 parent 921fc01 commit e82c7c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Rakefile
Expand Up @@ -65,3 +65,11 @@ begin
rescue LoadError
STDERR.puts "Warning: Rails rake tasks currently unavailable because we can't find the 'rails' gem"
end

require 'rubocop/rake_task'
RuboCop::RakeTask.new

require 'haml_lint/rake_task'
HamlLint::RakeTask.new

task :default => [:spec, :rubocop, :haml_lint]

0 comments on commit e82c7c3

Please sign in to comment.