From 4702f64f2e26f0294ab7a3b24cad7d198d21b054 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 21 Oct 2020 09:19:16 +0300 Subject: doc: all roles --- check | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'check') diff --git a/check b/check index 0fdede0..795e2f7 100755 --- a/check +++ b/check @@ -4,6 +4,15 @@ set -eu -o pipefail +cat_with_sep() +{ + for x in "$@" + do + cat "$x" + echo + done +} + quiet=-q hideok=chronic if [ "$#" -gt 0 ] @@ -23,9 +32,9 @@ trap 'rm -rf "$dir"' EXIT rm -f test.log test.py cp subplot.md "$dir" -cat subplot.md roles/*/subplot.md > "$dir/subplot.md" -cat subplot/*.py roles/*/subplot.py > "$dir/subplot.py" -cat subplot/*.yaml roles/*/subplot.yaml > "$dir/subplot.yaml" +cat_with_sep subplot.md roles/*/subplot.md > "$dir/subplot.md" +cat_with_sep subplot/*.py roles/*/subplot.py > "$dir/subplot.py" +cat_with_sep subplot/*.yaml roles/*/subplot.yaml > "$dir/subplot.yaml" ( set -eu -o pipefail -- cgit v1.2.1