make default rake tasks test+lint

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
Dominik Richter 2015-10-13 11:29:10 +02:00
parent 3f67521514
commit 8bc8a76988

View file

@ -15,7 +15,8 @@ desc 'Run robocop linter'
task lint: [:rubocop] task lint: [:rubocop]
# run tests # run tests
task default: :test task default: [:test, :lint]
Rake::TestTask.new do |t| Rake::TestTask.new do |t|
t.libs << 'test' t.libs << 'test'
t.pattern = 'test/unit/*_test.rb' t.pattern = 'test/unit/*_test.rb'