DEV: allow skipping of a single plugin when installing
SKIP_INSTALL_PLUGINS can be used to tell plugin:install_all_official to skip a plugin. Comma seperated list
This commit is contained in:
parent
ded5ebb5ae
commit
1c48853ede
|
@ -8,6 +8,7 @@
|
|||
# => SKIP_TESTS set to 1 to skip all tests
|
||||
# => SKIP_CORE set to 1 to skip core tests (rspec and qunit)
|
||||
# => SKIP_PLUGINS set to 1 to skip plugin tests (rspec and qunit)
|
||||
# => SKIP_INSTALL_PLUGINS comma seperated list of plugins you want to skip installing
|
||||
# => INSTALL_OFFICIAL_PLUGINS set to 1 to install all core plugins before running tests
|
||||
# => RUBY_ONLY set to 1 to skip all qunit tests
|
||||
# => JS_ONLY set to 1 to skip all rspec tests
|
||||
|
|
|
@ -11,6 +11,10 @@ task 'plugin:install_all_official' do
|
|||
'poll'
|
||||
])
|
||||
|
||||
if skip_install = ENV["SKIP_INSTALL_PLUGINS"]
|
||||
skip_install.split(",").map(&:strip).each { |plugin| skip << plugin }
|
||||
end
|
||||
|
||||
map = {
|
||||
'Canned Replies' => 'https://github.com/discourse/discourse-canned-replies',
|
||||
'discourse-perspective' => 'https://github.com/discourse/discourse-perspective-api'
|
||||
|
|
Loading…
Reference in New Issue