mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 12:02:59 +08:00
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_TESTS set to 1 to skip all tests
|
||||||
# => SKIP_CORE set to 1 to skip core tests (rspec and qunit)
|
# => 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_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
|
# => INSTALL_OFFICIAL_PLUGINS set to 1 to install all core plugins before running tests
|
||||||
# => RUBY_ONLY set to 1 to skip all qunit tests
|
# => RUBY_ONLY set to 1 to skip all qunit tests
|
||||||
# => JS_ONLY set to 1 to skip all rspec tests
|
# => JS_ONLY set to 1 to skip all rspec tests
|
||||||
|
|
|
@ -11,6 +11,10 @@ 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…
Reference in New Issue
Block a user