mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 06:35:31 +08:00
DEV: makes SKIP_INSTALL_PLUGINS called last and global (#9990)
This commit is contained in:
parent
0f09fd22f3
commit
d4caf69ed7
@ -134,6 +134,13 @@ task 'docker:test' do
|
|||||||
@good &&= run_or_fail("bundle exec rake plugin:update_all")
|
@good &&= run_or_fail("bundle exec rake plugin:update_all")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if skip_install = ENV["SKIP_INSTALL_PLUGINS"]
|
||||||
|
skip_install.split(",").map(&:strip).each do |plugin|
|
||||||
|
puts "[SKIP_INSTALL_PLUGINS] Removing #{plugin}"
|
||||||
|
`rm -fr plugins/#{plugin}`
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
command_prefix =
|
command_prefix =
|
||||||
if ENV["SKIP_PLUGINS"]
|
if ENV["SKIP_PLUGINS"]
|
||||||
# Make sure not to load plugins. bin/rake will add LOAD_PLUGINS=1 automatically unless we set it to 0 explicitly
|
# Make sure not to load plugins. bin/rake will add LOAD_PLUGINS=1 automatically unless we set it to 0 explicitly
|
||||||
|
@ -11,10 +11,6 @@ task 'plugin:install_all_official' do
|
|||||||
'poll'
|
'poll'
|
||||||
])
|
])
|
||||||
|
|
||||||
if skip_install = ENV["SKIP_INSTALL_PLUGINS"]
|
|
||||||
skip_install.split(",").map(&:strip).each { |plugin| skip << plugin }
|
|
||||||
end
|
|
||||||
|
|
||||||
map = {
|
map = {
|
||||||
'Canned Replies' => 'https://github.com/discourse/discourse-canned-replies',
|
'Canned Replies' => 'https://github.com/discourse/discourse-canned-replies',
|
||||||
'discourse-perspective' => 'https://github.com/discourse/discourse-perspective-api'
|
'discourse-perspective' => 'https://github.com/discourse/discourse-perspective-api'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user