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

Commit

Permalink
Merge pull request #374 from ZeroPointEnergy/lint_in_default_task
Browse files Browse the repository at this point in the history
Add rubocop and haml-lint to default task
  • Loading branch information
bwitt authored Sep 12, 2018
2 parents 89df6d6 + e82c7c3 commit c00a52c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
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 c00a52c

Please sign in to comment.