about summary refs log tree commit diff
path: root/users/edef/depot-scan.pl
diff options
context:
space:
mode:
authorKane York <kanepyork@gmail.com>2020-08-05T00·57-0700
committerkanepyork <rikingcoding@gmail.com>2020-08-05T02·02+0000
commit88a6bea6e802ce0d8190418b7b076ee12fdf1f47 (patch)
treeda4e97ae8827047521f808522e16c650bc320afc /users/edef/depot-scan.pl
parent84c401683cb8dc8e9040298d0a938b26af10ada8 (diff)
fix(users/edef/depot-scan): properly depend on pl script r/1589
Change-Id: I83c75ab75dae9c904e127ad6160c7641d4523e40
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1647
Reviewed-by: edef <edef@edef.eu>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/edef/depot-scan.pl')
-rwxr-xr-xusers/edef/depot-scan.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/users/edef/depot-scan.pl b/users/edef/depot-scan.pl
new file mode 100755
index 000000000000..39550d83c1a5
--- /dev/null
+++ b/users/edef/depot-scan.pl
@@ -0,0 +1,11 @@
+#! /usr/bin/env -S perl -ln
+use strict;
+
+if (/^evaluating file '(.*)'$/ or
+    /^copied source '(.*)' -> '.*'$/ or
+    /^trace: lorri read: '(.*)'$/) {
+    print $1;
+    next;
+}
+
+print STDERR unless /^instantiated '.*' -> '.*'$/;