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:
parent
343cb779d2
commit
ea1341a129
@ -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 "" "")
|
||||
|
Loading…
Reference in New Issue
Block a user