summaryrefslogtreecommitdiff
path: root/support/arara/scripts/rules
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-02-14 03:01:19 +0000
committerNorbert Preining <norbert@preining.info>2024-02-14 03:01:19 +0000
commita90336c3069c198b41b7b6eb76e3389610ad5eb7 (patch)
tree1d39210ab0b0caece02b2322e3fd773db8385982 /support/arara/scripts/rules
parentff59efb1f42e705d74a6d50a1f8dbd7988ccf380 (diff)
CTAN sync 202402140301
Diffstat (limited to 'support/arara/scripts/rules')
-rw-r--r--support/arara/scripts/rules/arara-rule-rmdir.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/support/arara/scripts/rules/arara-rule-rmdir.yaml b/support/arara/scripts/rules/arara-rule-rmdir.yaml
new file mode 100644
index 0000000000..04da08fe38
--- /dev/null
+++ b/support/arara/scripts/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