Update docker_patched.rake
This commit is contained in:
parent
688f28262e
commit
a724463f7c
|
@ -30,18 +30,18 @@ task 'docker:test' do
|
||||||
ENV["RAILS_ENV"] = "test"
|
ENV["RAILS_ENV"] = "test"
|
||||||
|
|
||||||
@good = run_or_fail("bundle exec rake db:create db:migrate")
|
@good = run_or_fail("bundle exec rake db:create db:migrate")
|
||||||
unless ENV["JS_ONLY"] or ENV["SINGLE_PLUGIN"]
|
unless ENV["JS_ONLY"]
|
||||||
@good &&= run_or_fail("bundle exec rspec")
|
if ENV["SINGLE_PLUGIN"]
|
||||||
|
@good &&= run_or_fail("bundle exec rake plugin:spec['#{ENV["SINGLE_PLUGIN"]}']")
|
||||||
if ENV["LOAD_PLUGINS"]
|
else
|
||||||
@good &&= run_or_fail("bundle exec rake plugin:spec")
|
@good &&= run_or_fail("bundle exec rspec")
|
||||||
|
|
||||||
|
if ENV["LOAD_PLUGINS"]
|
||||||
|
@good &&= run_or_fail("bundle exec rake plugin:spec")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if ENV["SINGLE_PLUGIN"]
|
|
||||||
@good &&= run_or_fail("bundle exec rake plugin:spec['#{ENV["SINGLE_PLUGIN"]}']")
|
|
||||||
end
|
|
||||||
|
|
||||||
unless ENV["RUBY_ONLY"]
|
unless ENV["RUBY_ONLY"]
|
||||||
unless["SINGLE_PLUGIN"]
|
unless["SINGLE_PLUGIN"]
|
||||||
@good &&= run_or_fail("eslint app/assets/javascripts")
|
@good &&= run_or_fail("eslint app/assets/javascripts")
|
||||||
|
|
Loading…
Reference in New Issue