chiark / gitweb /
mark autogeneration
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 5 Oct 2020 18:40:25 +0000 (19:40 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 5 Oct 2020 18:40:25 +0000 (19:40 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tsc-wrap

index 47586e94015f970f111d9aff778963eb2dc1a140..23066d5b6543bb6111a9837e70eafce2b3678e17 100755 (executable)
--- 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