From 9f5a72665fd94dcb082a9710c71e6a6a08386450 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 31 Jul 2018 10:25:29 -0400 Subject: messages & remove outputs not generated --- org/default_paths.org | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'org/default_paths.org') diff --git a/org/default_paths.org b/org/default_paths.org index 35dee32..a37b542 100644 --- a/org/default_paths.org +++ b/org/default_paths.org @@ -294,7 +294,7 @@ template PathMatters() { } string base_dir() { string _dir; - if ( // TODO this should catch generated --source sisupod, untested, needs manifest + if ( auto m = (absolute_path_to_src) .match(regex(r"[/](?P(?:[a-zA-Z0-9._-]+))/sisupod/" ~ filename.stripExtension)) ) { @@ -312,7 +312,7 @@ template PathMatters() { } string base_parent_dir_path() { string _dir; - if ( // TODO this should catch generated --source sisupod, untested, needs manifest + if ( auto m = (absolute_path_to_src) .match(regex(r"[/](?P(?:[a-zA-Z0-9._-]+))/sisupod/" ~ filename.stripExtension)) ) { @@ -329,7 +329,7 @@ template PathMatters() { .match(rgx.src_formalised_file_path_parts) ) { _dir = asNormalizedPath(m.captures["pth"]).array; - } else if ( // TODO this should catch generated --source sisupod, untested, needs manifest + } else if ( auto m = (absolute_path_to_src) .match(regex(r"[/](?P(?:[a-zA-Z0-9._-]+))/sisupod/" ~ filename.stripExtension)) ) { @@ -375,7 +375,7 @@ template PathMatters() { } auto base_parent_dir() { string _dir; - if ( // TODO this should catch generated --source sisupod, untested, needs manifest + if ( auto m = (absolute_path_to_src) .match(regex(r"[/](?P(?:[a-zA-Z0-9._-]+))/sisupod/" ~ filename.stripExtension)) ) { @@ -1187,8 +1187,6 @@ template SiSUpathsSQLiteDiscrete() { auto out_pth = SiSUoutPaths!()(output_pth_root, lng); string base_dir = "sqlite"; return asNormalizedPath((out_pth.output_base).chainPath(base_dir)).array; - // return asNormalizedPath((out_pth.output_root).chainPath(base_dir)).array; // single file for each file, multiple languages - // return asNormalizedPath((out_pth.output_base).chainPath(base_dir)).array; // separate files for each language } string seg(string fn_src) { return asNormalizedPath(base.chainPath(base_filename(fn_src))).array; -- cgit v1.2.3