~subsetpark/bagatto

efb83c388d3f7ff056a0399e08a634ac855ca16a — Zach Smith 9 months ago f522add
Merge bagatto into root env instead of in dofile
1 files changed, 3 insertions(+), 1 deletions(-)

M main.janet
M main.janet => main.janet +3 -1
@@ 27,7 27,7 @@
  ```
  [index]
  (temple/add-loader)
  (dofile index :env bagatto))
  (dofile index))

(defn- index-value
  [env sym index]


@@ 43,6 43,8 @@
                                :required true}])

(defn main [& args]
  (merge-into root-env bagatto)
  
  (match (os/getenv "JANET_PATH")
    nil :ok
    janet-path (put root-env :syspath janet-path))