From b400e2d1c445a791425a35c0143514256a208d9e Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 10 Jan 2018 08:04:47 -0500 Subject: [PATCH] Add some logging to the build script --- src/build/looped_in/build.clj | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/build/looped_in/build.clj b/src/build/looped_in/build.clj index 4b21c7e..6a46fa6 100644 --- a/src/build/looped_in/build.clj +++ b/src/build/looped_in/build.clj @@ -1,5 +1,11 @@ (ns looped-in.build - (:require [cljs.build.api :refer [build]])) + (:require [cljs.build.api :as cljs])) + +(defn build + [root opts] + (println (str "Compiling " root " to " (:output-to opts))) + (cljs/build root opts) + (println (str "Compiled " (:output-to opts)))) (defn -main [& args] (build "src/content" {:output-to "ext/content.js"