Reading resources/conf/<env>/config.edn as Aero would, as far as the keys
go. wagoe add and wagoe upgrade authorization both need a profile that
is only an #include read as the file it includes (BOU-867, BOU-910).
Reading resources/conf/<env>/config.edn as Aero would, as far as the keys go. `wagoe add` and `wagoe upgrade authorization` both need a profile that is only an `#include` read as the file it includes (BOU-867, BOU-910).
(include-of text)What text includes when it is only an #include, else nil.
What `text` includes when it is only an `#include`, else nil.
(profile dir path text){:path :text :include :config} of config text at path, :config read
only when asked for.
{:path :text :include :config} of config `text` at `path`, :config read
only when asked for.(profile-path dir env)(profile-path dir env read)Profile env's config.edn relative to dir, or, when that file is only an
#include, the file it includes, followed as Aero does (BOU-867). A file
wagoe add gave such a profile is still the file it includes, so what
that one gets is not written twice (BOU-910).
Profile `env`'s config.edn relative to `dir`, or, when that file is only an `#include`, the file it includes, followed as Aero does (BOU-867). A file `wagoe add` gave such a profile is still the file it includes, so what that one gets is not written twice (BOU-910).
(read-config dir path text)Config text of the file at path in dir: #include read from the file
it names, #merge merged, #ref looked up; any other tag is its value.
Nil when it does not read.
Config `text` of the file at `path` in `dir`: `#include` read from the file it names, `#merge` merged, `#ref` looked up; any other tag is its value. Nil when it does not read.
(reader dir)A function of a path in dir to its profile, each file read once.
A function of a path in `dir` to its `profile`, each file read once.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |