Skip to content

Commit d411d9e

Browse files
committed
more trace
1 parent 1916f4d commit d411d9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

script/Shake.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,8 @@ def visitModule (pkg : Name) (srcSearchPath : SearchPath)
482482
args.keepPublic && imp.isExported ||
483483
impStx.raw.getTrailing?.any (·.toString.contains "shake: keep") then
484484
deps := deps.union k {j}
485+
if args.trace then
486+
IO.eprintln s!"Adding `{imp}` as additional dependency"
485487
for j in [0:s.mods.size] do
486488
for k in NeedsKind.all do
487489
-- remove `meta` while preserving, no use-case for preserving `meta` so far

0 commit comments

Comments
 (0)