aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/source/paths_source.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2018-07-31 10:25:29 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:15 -0400
commit9f5a72665fd94dcb082a9710c71e6a6a08386450 (patch)
tree7b5fbb382c6382b51cd6035e3f37744cb7eb9688 /src/sdp/source/paths_source.d
parentmeson build related (reggae removed for now) (diff)
messages & remove outputs not generated
Diffstat (limited to 'src/sdp/source/paths_source.d')
-rw-r--r--src/sdp/source/paths_source.d8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sdp/source/paths_source.d b/src/sdp/source/paths_source.d
index 5637c80..462fc85 100644
--- a/src/sdp/source/paths_source.d
+++ b/src/sdp/source/paths_source.d
@@ -241,7 +241,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<dir>(?:[a-zA-Z0-9._-]+))/sisupod/" ~ filename.stripExtension))
) {
@@ -259,7 +259,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<dir>(?:[a-zA-Z0-9._-]+))/sisupod/" ~ filename.stripExtension))
) {
@@ -276,7 +276,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<dir>(?:[a-zA-Z0-9._-]+))/sisupod/" ~ filename.stripExtension))
) {
@@ -322,7 +322,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<dir>(?:[a-zA-Z0-9._-]+))/sisupod/" ~ filename.stripExtension))
) {