Commit Graph

4 Commits (b346f6e8ad823eeb20337d85e571a90c619eb2e4)

Author SHA1 Message Date
Paulus Schoutsen a557cf388b Better approach writing default configuration 2015-06-01 22:50:57 -07:00
Andrew Thigpen fc560d179e Fix issues with YAML include tag.
Calling load_yaml_config_file(config_path) causes issues when trying to
load from multiple files in a directory since config_path is modified in
the closure.

This also separates the parse code block into its own function so that
there is no restriction that the object be a dictionary for included
files.  This means that scalars, lists, etc. can also be stored in
separate files -- for example, the scene component expects a list.
2015-05-16 11:52:27 -05:00
Andrew Thigpen 6ef60aa979 Add include YAML tag.
Allows including other files in the main configuration.yaml file.  With
this functionality, passwords or other sensitive information can be
stored in a separate file from the main configuration.
2015-05-15 20:10:30 -05:00
Paulus Schoutsen ad016de653 Move config code to separate module + test cover it 2015-04-26 10:05:01 -07:00