aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/meta/read_config_files.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-12-15 14:06:16 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit2e852762085122d1b36641a04bcc63d5235139cd (patch)
treeb0f039492688fc0604f98ff4eb588deb266f1e0d /src/sdp/meta/read_config_files.d
parent0.23.1 use output path specified if any (diff)
0.23.2 config paths for pod
Diffstat (limited to 'src/sdp/meta/read_config_files.d')
-rw-r--r--src/sdp/meta/read_config_files.d8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sdp/meta/read_config_files.d b/src/sdp/meta/read_config_files.d
index 369d9c2..b3c7f1b 100644
--- a/src/sdp/meta/read_config_files.d
+++ b/src/sdp/meta/read_config_files.d
@@ -10,8 +10,8 @@ static template configIn() {
sdp.output.paths_source,
std.file,
std.path;
- final string configIn(C,E)(C conf_sdl, E env) {
- auto possible_config_path_locations = ConfigFilePaths!()(env).possible_config_path_locations;
+ final string configIn(M,E,C)(M manifest, E env, C conf_sdl) {
+ auto possible_config_path_locations = ConfigFilePaths!()(manifest, env).possible_config_path_locations;
string config_file_str;
foreach(pth; possible_config_path_locations) {
auto conf_file = format(
@@ -70,8 +70,8 @@ static template configRead() {
std.file,
std.path;
- final auto configRead(C,E)(C conf_sdl, E env) {
- auto configuration = configIn!()(conf_sdl, env);
+ final auto configRead(M,E,C)(M manifest, E env, C conf_sdl) {
+ auto configuration = configIn!()(manifest, env, conf_sdl);
auto sdl_root = ConfigSDLang!()(configuration, conf_sdl);
return sdl_root;
}