aboutsummaryrefslogtreecommitdiff
path: root/lux-lein/src/leiningen/lux/builder.clj
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lux-lein/src/leiningen/lux/builder.clj (renamed from lux-lein/src/leiningen/luxc/compiler.clj)13
1 files changed, 6 insertions, 7 deletions
diff --git a/lux-lein/src/leiningen/luxc/compiler.clj b/lux-lein/src/leiningen/lux/builder.clj
index 18eef63a0..530b61bfe 100644
--- a/lux-lein/src/leiningen/luxc/compiler.clj
+++ b/lux-lein/src/leiningen/lux/builder.clj
@@ -3,17 +3,16 @@
;; If a copy of the MPL was not distributed with this file,
;; You can obtain one at http://mozilla.org/MPL/2.0/.
-(ns leiningen.luxc.compiler
- (:refer-clojure :exclude [compile])
+(ns leiningen.lux.builder
(:require [leiningen.core.classpath :as classpath]
- (leiningen.luxc [utils :as &utils]
- [packager :as &packager])))
+ (leiningen.lux [utils :as &utils]
+ [packager :as &packager])))
-(defn compile [project]
+(defn build [project]
(if-let [program-module (get-in project [:lux :program])]
(do (&utils/run-process (&utils/compile-path project program-module (get project :source-paths (list)))
nil
- "[COMPILATION BEGIN]"
- "[COMPILATION END]")
+ "[BUILD BEGIN]"
+ "[BUILD END]")
(&packager/package project program-module (get project :resource-paths (list))))
(println "Please provide a program main module in [:lux :program]")))