1
0
mirror of https://github.com/janet-lang/janet synced 2025-12-07 17:18:07 +00:00

Add os/arch to core.

Also allow setting custom keywords for compiled
os name and architecture name.
This commit is contained in:
Calvin Rose
2019-08-18 10:00:04 -05:00
parent 1872bd344f
commit 28fb2403d9
5 changed files with 55 additions and 2 deletions

View File

@@ -555,6 +555,7 @@ int main(int argc, const char **argv) {
(os/cd module-dir)
(try
(with-dyns [:rules @{}]
(os/execute ["git" "submodule" "update" "--init" "--recursive"])
(import-rules "./project.janet")
(do-rule "install-deps")
(do-rule "build")