1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-31 07:33:01 +00:00

Add import-rules to cook.

First steps to recursive rules. Just needs normalized paths
relative to the directory of the imported file.
This commit is contained in:
Calvin Rose
2019-05-28 09:49:10 -04:00
parent 7569930b0c
commit 09ab391d13
2 changed files with 28 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
(import cook :prefix "")
(dofile "./project.janet" :env (fiber/getenv (fiber/current)))
(import-rules "./project.janet")
(def- argpeg
(peg/compile