mirror of
https://github.com/janet-lang/janet
synced 2025-02-03 02:39:09 +00:00
Fix recursive post-deps.
This commit is contained in:
parent
17a131ac21
commit
2f5bb7774e
4
jpm
4
jpm
@ -757,7 +757,7 @@ int main(int argc, const char **argv) {
|
|||||||
(os/execute [(git-path) "reset" "--hard" tag] :p))
|
(os/execute [(git-path) "reset" "--hard" tag] :p))
|
||||||
(unless (dyn :offline)
|
(unless (dyn :offline)
|
||||||
(os/execute [(git-path) "submodule" "update" "--init" "--recursive"] :p))
|
(os/execute [(git-path) "submodule" "update" "--init" "--recursive"] :p))
|
||||||
(import-rules "./project.janet")
|
(import-rules "./project.janet" true)
|
||||||
(unless no-deps (do-rule "install-deps"))
|
(unless no-deps (do-rule "install-deps"))
|
||||||
(do-rule "build")
|
(do-rule "build")
|
||||||
(do-rule "install"))
|
(do-rule "install"))
|
||||||
@ -1182,7 +1182,7 @@ Flags are:
|
|||||||
|
|
||||||
(defn list-rules
|
(defn list-rules
|
||||||
[&opt ctx]
|
[&opt ctx]
|
||||||
(import-rules "./project.janet" true)
|
(import-rules "./project.janet")
|
||||||
(def ks (sort (seq [k :keys (dyn :rules)] k)))
|
(def ks (sort (seq [k :keys (dyn :rules)] k)))
|
||||||
(each k ks (print k)))
|
(each k ks (print k)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user