From a5b9f0faee9efdb950aa0558bb68cb320a9e72a4 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 18 Oct 2014 16:42:30 +0200 Subject: Introduced new "directory" task type * tasks of this type expect a path node providing the directory tree to be created ** the path is passed to `mkdir --parents $path` which does the actual work * this addition was introduced to fix failing `create_link` calls in cases where the link is created before the actual directory is created as a side-effect of `InputXSLT:generate` ** this side-effect causes `InputXSLT:generate` to be impure and should be elimniated in InputXSLT if possible *** the current hindrance preventing me from doing just that are the `xpath` target declarations which depend on this behaviour --- src/steps/plan.xsl | 52 +++++++++++++++++++++++++++++---------------------- src/steps/process.xsl | 19 +++++++++++++++++++ 2 files changed, 49 insertions(+), 22 deletions(-) diff --git a/src/steps/plan.xsl b/src/steps/plan.xsl index 653a9ca..88ecbdb 100644 --- a/src/steps/plan.xsl +++ b/src/steps/plan.xsl @@ -23,28 +23,13 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + @@ -75,6 +60,29 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/steps/process.xsl b/src/steps/process.xsl index 29599f4..67c7f24 100644 --- a/src/steps/process.xsl +++ b/src/steps/process.xsl @@ -28,6 +28,14 @@ )/self::command/@result"/> + + + + + + @@ -268,4 +276,15 @@ + + + + + + + + + + + -- cgit v1.2.3