mirror of
https://github.com/janet-lang/janet
synced 2025-02-02 10:19:10 +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
|
(defn show-rule-tree
|
||||||
[&opt root depth]
|
[&opt root depth]
|
||||||
(import-rules "./project.janet" true)
|
(import-rules "./project.janet")
|
||||||
(def max-depth (if depth (scan-number depth) math/inf))
|
(def max-depth (if depth (scan-number depth) math/inf))
|
||||||
(if root
|
(if root
|
||||||
(print-rule-tree root max-depth "" "")
|
(print-rule-tree root max-depth "" "")
|
||||||
|
Loading…
Reference in New Issue
Block a user