Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Allow the inclusion of files, from FILE_CONFIG #3

Open
2 tasks
joseluis opened this issue Nov 18, 2016 · 0 comments
Open
2 tasks

Allow the inclusion of files, from FILE_CONFIG #3

joseluis opened this issue Nov 18, 2016 · 0 comments

Comments

@joseluis
Copy link
Member

joseluis commented Nov 18, 2016

Allow including files, that are part of the configuration, from the main project file config (.weberarc by default), and keep nesting from the included parts, respecting Nesting_max.

IDEA: Use uppercase names surrounded by underscores to make them stand out.

  • _INCLUDE_
  • _REQUIRE_

FEATURES:

  • _INCLUDE_ should support specifying a directory (or globbing (bash 4)) somewhere/**/**.conf
  • Model it like embedding templates.
  • In principle, both operations should be able to be nested too.
  • Relative paths are relative to the script in which include/require operation is written. But absolute paths can be used too.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant