Module: Gaudi::Configuration::BuildModules::ComponentConfiguration
- Defined in:
- lib/gaudi/helpers/configuration.rb
Overview
Configuration directoves for simple components
Class Method Summary collapse
-
.list_keys ⇒ Object
:stopdoc:.
- .path_keys ⇒ Object
Instance Method Summary collapse
-
#dependencies ⇒ Object
(also: #deps)
A list of prefixes that represent dependencies to the system's internal components.
-
#external_includes ⇒ Object
(also: #incs)
A list of paths to be used as include paths when compiling.
-
#prefix ⇒ Object
:startdoc: The prefix is the name of the component.
Class Method Details
.list_keys ⇒ Object
:stopdoc:
486 487 488 |
# File 'lib/gaudi/helpers/configuration.rb', line 486 def self.list_keys ['deps','incs'] end |
.path_keys ⇒ Object
489 490 491 |
# File 'lib/gaudi/helpers/configuration.rb', line 489 def self.path_keys ['incs'] end |
Instance Method Details
#dependencies ⇒ Object Also known as: deps
A list of prefixes that represent dependencies to the system's internal components
501 502 503 |
# File 'lib/gaudi/helpers/configuration.rb', line 501 def dependencies return @config.fetch('deps',Rake::FileList.new) end |
#external_includes ⇒ Object Also known as: incs
A list of paths to be used as include paths when compiling
Relative paths are interpreted relative to the configuration file's location
507 508 509 |
# File 'lib/gaudi/helpers/configuration.rb', line 507 def external_includes return @config.fetch('incs',Rake::FileList.new) end |
#prefix ⇒ Object
:startdoc: The prefix is the name of the component
It's called prefix for historical reasons ;)
496 497 498 |
# File 'lib/gaudi/helpers/configuration.rb', line 496 def prefix return @config.fetch('prefix',"") end |