1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-19 23:24:49 +00:00

Show post-deps rules in rule tree.

This commit is contained in:
Calvin Rose 2020-04-20 19:19:53 -05:00
parent 343cb779d2
commit ea1341a129

View File

@ -1080,7 +1080,7 @@ Flags are:
(defn show-rule-tree
[&opt root depth]
(import-rules "./project.janet" true)
(import-rules "./project.janet")
(def max-depth (if depth (scan-number depth) math/inf))
(if root
(print-rule-tree root max-depth "" "")