Skip to content

Commit

Permalink
Add linting to the default rake task
Browse files Browse the repository at this point in the history
The lint task is not run by default.

This means you don't find out about linting errors until CI.

We want to `fail fast` so adding linting as part of the default
rake task.
  • Loading branch information
peteglondon committed Feb 26, 2019
1 parent d556797 commit 69d47a7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Rakefile
Expand Up @@ -6,4 +6,10 @@ require File.expand_path('../config/application', __FILE__)

Support::Application.load_tasks

task :default => [:spec, 'jasmine:ci']
Rake::Task['default'].clear

task :default do
Rake::Task['lint'].invoke
Rake::Task['spec'].invoke
Rake::Task['jasmine:ci'].invoke
end

0 comments on commit 69d47a7

Please sign in to comment.