From: Ian Jackson Date: Mon, 5 Oct 2020 18:40:25 +0000 (+0100) Subject: mark autogeneration X-Git-Tag: otter-0.2.0~741 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5b6374001212af1289b81d0f019cbe2a443d048b;p=otter.git mark autogeneration Signed-off-by: Ian Jackson --- diff --git a/tsc-wrap b/tsc-wrap index 47586e94..23066d5b 100755 --- a/tsc-wrap +++ b/tsc-wrap @@ -24,6 +24,7 @@ x tsc --outfile "$out.1.tmp" -p "$our_tsconfig" 2>&1 \ test "${PIPESTATUS[*]}" = "0 0" sed <"$out.1.tmp" '/^[a-z]/,$d' > "$out".tmp +echo "// autogenerated from $@" >>"$out".tmp sed <"$1" '/^[a-z]/,$d' >>"$out".tmp sed -n <"$out.1.tmp" '/^[a-z]/,$p' >> "$out".tmp