diff options
Diffstat (limited to 'Master/texmf-dist/scripts/arara/rules/arara-rule-rmdir.yaml')
-rw-r--r-- | Master/texmf-dist/scripts/arara/rules/arara-rule-rmdir.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/arara/rules/arara-rule-rmdir.yaml b/Master/texmf-dist/scripts/arara/rules/arara-rule-rmdir.yaml new file mode 100644 index 00000000000..04da08fe38f --- /dev/null +++ b/Master/texmf-dist/scripts/arara/rules/arara-rule-rmdir.yaml @@ -0,0 +1,25 @@ +!config +# Arara, the cool TeX automation tool +# Copyright (c) 2024, Island of TeX +# All rights reserved. +# +# This rule is part of arara. +identifier: rmdir +name: Remove subdirectory +authors: +- hackbaellchen +- Island of TeX +commands: +- name: Remove subdirectory + command: > + @{ + toFile(target[0]).removeDirectory(); + return true; + } +arguments: +- identifier: target + flag: > + @{ + return parameters.target; + } + required: true |