summaryrefslogtreecommitdiff
path: root/support/arara/scripts/rules/arara-rule-mkdir.yaml
blob: 3798a8f7928664b0fb43d6b83c20fe8c58973a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
!config
# Arara, the cool TeX automation tool
# Copyright (c) 2023, Island of TeX
# All rights reserved.
#
# This rule is part of arara.
identifier: mkdir
name: Create subdirectory
authors:
- hackbaellchen
- Island of TeX
commands:
- name: Create subdirectory
  command: >
    @{
        toFile(target[0]).createDirectories();
        return true;
    }
arguments:
- identifier: target
  flag: >
    @{
        return parameters.target;
    }
  required: true