Method: PDK::Config#project_config
- Defined in:
- lib/pdk/config.rb
#project_config ⇒ PDK::Config::Namespace
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The project level configuration settings.
68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/pdk/config.rb', line 68 def project_config context = @config_options['context'] @project ||= PDK::Config::Namespace.new('project') do mount :environment, PDK::ControlRepo.environment_conf_as_config(File.join(context.root_path, 'environment.conf')) if context.is_a?(PDK::Context::ControlRepo) mount :validate, PDK::Config::YAML.new('validate', file: File.join(context.root_path, 'pdk.yaml'), persistent_defaults: true) do setting 'ignore' do default_to { [] } end end end end |