mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 11:32:46 +08:00
Use eslint in docker_test
This commit is contained in:
parent
4fd79819be
commit
946e34f65c
|
@ -34,6 +34,8 @@ task 'docker:test' do
|
||||||
@good &&= run_or_fail("bundle exec rspec")
|
@good &&= run_or_fail("bundle exec rspec")
|
||||||
end
|
end
|
||||||
unless ENV["RUBY_ONLY"]
|
unless ENV["RUBY_ONLY"]
|
||||||
|
@good &&= run_or_fail("eslint --ext \".es6\" app/assets/javascripts")
|
||||||
|
@good &&= run_or_fail("eslint --ext \".es6\" test/javascripts")
|
||||||
@good &&= run_or_fail("bundle exec rake qunit:test")
|
@good &&= run_or_fail("bundle exec rake qunit:test")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user