diff options
author | Eduardo Julian | 2019-03-13 22:06:32 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-03-13 22:06:32 -0400 |
commit | d3522576c5de2028c18e700cd0796a8db3f4c52f (patch) | |
tree | bcb863b7f53765ba16b36f96ce827c0a8a0956fa /luxc/src/lux.clj | |
parent | 60f368ddd0cc9863fa9f59aa2362b9e3cb9e48a5 (diff) |
No longer needing "jvm" or "js" configurations in "project.clj" files for Lux projects.
Diffstat (limited to '')
-rw-r--r-- | luxc/src/lux.clj | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/luxc/src/lux.clj b/luxc/src/lux.clj index fc39b7b3b..3dbc819a1 100644 --- a/luxc/src/lux.clj +++ b/luxc/src/lux.clj @@ -9,7 +9,7 @@ (def unit-separator (str (char 31))) -(defn ^:private separate-paths +(defn- separate-paths "(-> Text (List Text))" [resources-dirs] (-> resources-dirs @@ -19,8 +19,8 @@ (defn -main [& args] (|case (&/->list args) - (&/$Cons "release" (&/$Cons platform (&/$Cons program-module (&/$Cons resources-dirs (&/$Cons source-dirs (&/$Cons target-dir (&/$Nil))))))) - (time (&compiler/compile-program platform &/$Build program-module (separate-paths resources-dirs) (separate-paths source-dirs) target-dir)) + (&/$Cons "release" (&/$Cons program-module (&/$Cons resources-dirs (&/$Cons source-dirs (&/$Cons target-dir (&/$Nil)))))) + (time (&compiler/compile-program &/$Build program-module (separate-paths resources-dirs) (separate-paths source-dirs) target-dir)) (&/$Cons "repl" (&/$Cons resources-dirs (&/$Cons source-dirs (&/$Cons target-dir (&/$Nil))))) (&repl/repl (separate-paths resources-dirs) |