-
Notifications
You must be signed in to change notification settings - Fork 1
/
good.toml
28 lines (22 loc) · 881 Bytes
/
good.toml
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
26
27
28
[libraries.audio]
command = """
echo "{{ file_path }} is an audio file. The file's MIME type is {{ mime_type }}" > tests/tmp/audio_{{ file_path | replace(from="/", to="_") }}
"""
[libraries.audio.filter]
directories = [ "tests/files" ]
mime_type_regexes = [ "audio/.+" ]
[libraries.videos]
command = """
echo "{{ file_path }} is a video. The file's MIME type is {{ mime_type }}" > tests/tmp/video_{{ file_path | replace(from="/", to="_") }}
"""
[libraries.videos.filter]
directories = [ "tests/files/image", "tests/files/video", "tests/files/archive" ]
mime_type_regexes = [ ".+mpeg" ]
[libraries.books]
command = """
echo "{{ file_path }} is a book. The file's MIME type is {{ mime_type }}" > tests/tmp/books_{{ file_path | replace(from="/", to="_") }}
"""
[libraries.books.filter]
directories = [ "tests/files/text" ]
[fs_watch]
min_command_exec_freq = 60