Extract linter in docker:test Rake task into docker:lint.

This commit is contained in:
Guo Xiang Tan
2017-08-18 12:15:46 +09:00
parent 6ed65b1ca3
commit 8ecf383c55
2 changed files with 11 additions and 10 deletions

View File

@ -12,4 +12,5 @@ unless ENV['NO_UPDATE']
run_or_fail("bundle")
end
run_or_fail("bundle exec rake docker:test")
run_or_fail("bundle exec rake docker:lint") unless ENV["SKIP_LINT"]
run_or_fail("bundle exec rake docker:test") unless ENV["LINT_ONLY"]