mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
make default rake tasks test+lint
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
parent
3f67521514
commit
8bc8a76988
1 changed files with 2 additions and 1 deletions
3
Rakefile
3
Rakefile
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue