diff options
author | Eduardo Julian | 2022-07-09 14:35:38 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-07-09 14:35:38 -0400 |
commit | 7db42ab1b9d3c764772ca63c74bf44bb2b8b8325 (patch) | |
tree | bd1c865dea0902790f3e462cec4f9bc8d8ae428f /lux-bootstrapper/src/lux.clj | |
parent | fc2737b5226eda69c12bc593e83e22ed54e4d3af (diff) |
First-class programs instead of having a "lux program" extension.
Diffstat (limited to 'lux-bootstrapper/src/lux.clj')
-rw-r--r-- | lux-bootstrapper/src/lux.clj | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lux-bootstrapper/src/lux.clj b/lux-bootstrapper/src/lux.clj index 783a25a64..1d337df04 100644 --- a/lux-bootstrapper/src/lux.clj +++ b/lux-bootstrapper/src/lux.clj @@ -21,8 +21,10 @@ (defn -main [& args] (|case (&/->list args) - (&/$Item "release" (&/$Item program-module (&/$Item dependencies (&/$Item source-dirs (&/$Item target-dir (&/$End)))))) - (&compiler/compile-program &/$Build program-module + (&/$Item "release" (&/$Item program-module (&/$Item program-definition (&/$Item dependencies (&/$Item source-dirs (&/$Item target-dir (&/$End))))))) + (&compiler/compile-program &/$Build + program-module + program-definition (separate-paths dependencies) (separate-paths source-dirs) target-dir) |