mirror of
https://github.com/discourse/discourse-chat-integration.git
synced 2025-07-01 03:42:10 +00:00
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"
|
||||
|
||||
@good = run_or_fail("bundle exec rake db:create db:migrate")
|
||||
unless ENV["JS_ONLY"] or ENV["SINGLE_PLUGIN"]
|
||||
@good &&= run_or_fail("bundle exec rspec")
|
||||
|
||||
if ENV["LOAD_PLUGINS"]
|
||||
@good &&= run_or_fail("bundle exec rake plugin:spec")
|
||||
unless ENV["JS_ONLY"]
|
||||
if ENV["SINGLE_PLUGIN"]
|
||||
@good &&= run_or_fail("bundle exec rake plugin:spec['#{ENV["SINGLE_PLUGIN"]}']")
|
||||
else
|
||||
@good &&= run_or_fail("bundle exec rspec")
|
||||
|
||||
if ENV["LOAD_PLUGINS"]
|
||||
@good &&= run_or_fail("bundle exec rake plugin:spec")
|
||||
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["SINGLE_PLUGIN"]
|
||||
@good &&= run_or_fail("eslint app/assets/javascripts")
|
||||
|
Loading…
x
Reference in New Issue
Block a user