mirror of
https://github.com/janet-lang/janet
synced 2025-01-23 13:46:52 +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))
|
||||
(unless (dyn :offline)
|
||||
(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"))
|
||||
(do-rule "build")
|
||||
(do-rule "install"))
|
||||
@ -1182,7 +1182,7 @@ Flags are:
|
||||
|
||||
(defn list-rules
|
||||
[&opt ctx]
|
||||
(import-rules "./project.janet" true)
|
||||
(import-rules "./project.janet")
|
||||
(def ks (sort (seq [k :keys (dyn :rules)] k)))
|
||||
(each k ks (print k)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user