aboutsummaryrefslogtreecommitdiff
path: root/lux-bootstrapper/src/lux.clj
diff options
context:
space:
mode:
authorEduardo Julian2022-07-09 14:35:38 -0400
committerEduardo Julian2022-07-09 14:35:38 -0400
commit7db42ab1b9d3c764772ca63c74bf44bb2b8b8325 (patch)
treebd1c865dea0902790f3e462cec4f9bc8d8ae428f /lux-bootstrapper/src/lux.clj
parentfc2737b5226eda69c12bc593e83e22ed54e4d3af (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.clj6
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)