From 9c137d4a179b38f7187e296ae3b0303f5e479c60 Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Sun, 26 Feb 2023 22:06:40 -0500 Subject: Support splitting files with --- / added tests Added some tests to verify that you can now split your files with --- to join multiple queries into a single file. This could be for if you have two separate regexes to run or even two sources you want to run the same query against. Example file: ```example.conf query=.*example.conf$ source=/path/to/example/ target=/path/to/dest/ --- query=.*different.csv$ soruce=/path/to/different/ target=/path/to/dest/ ``` --- test/confs/single.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/confs/single.conf (limited to 'test/confs/single.conf') diff --git a/test/confs/single.conf b/test/confs/single.conf new file mode 100644 index 0000000..33a98d7 --- /dev/null +++ b/test/confs/single.conf @@ -0,0 +1,3 @@ +query=.*/a.txt +source=./test/src/ +target=./test/dest/ -- cgit v1.2.3-54-g00ecf