test yaML
This commit is contained in:
30
test.yaml
Normal file
30
test.yaml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# Zielverzeichnis für Operationen
|
||||||
|
destination_directory: './'
|
||||||
|
|
||||||
|
# Kopierregeln
|
||||||
|
copy_rules:
|
||||||
|
- sources:
|
||||||
|
- source: './img/icon-transparent.png'
|
||||||
|
target: './assets/img/icon-transparent.png'
|
||||||
|
|
||||||
|
mode: 'replace' # Überschreibt vorhandene Dateien/Ordner
|
||||||
|
|
||||||
|
- sources:
|
||||||
|
- './ui'
|
||||||
|
|
||||||
|
- source: './img/background.png'
|
||||||
|
target: './assets/img/background.png'
|
||||||
|
mode: 'copy' # Kopiert Dateien/Ordner
|
||||||
|
|
||||||
|
# Modifikationsregeln
|
||||||
|
modification_rules:
|
||||||
|
- file_pattern: 'test..*.txt'
|
||||||
|
insert_rules:
|
||||||
|
- after_text: 'This is an after text'
|
||||||
|
insert_text: ' added after text '
|
||||||
|
- before_text: 'This is a before text'
|
||||||
|
insert_text: ' added before text '
|
||||||
|
- old_text: 'Replace this text'
|
||||||
|
new_text: 'Replaced text'
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user