Repository navigation
Adding configuration to Bundler plugin #5736
|
Hi all, I'm creating a Bundler plugin reading the documentation.
|
Replies: 1 comment
|
|
|
Hi all, I'm creating a Bundler plugin reading the documentation.
|
|
|
Bundler.settingsalready reads namespaced keys, so a plugin does not need a config file of its own.bundle config set --local ctags_generator.paths lib,appwrites the value into.bundle/config, andBundler.settings["ctags_generator.paths"]reads it back. That gives you per-project configuration with no environment variable, and the same key still works asBUNDLE_CTAGS_GENERATOR__PATHSfor anyone who does want to pass it through the environment.