Add some logging to the build script
This commit is contained in:
parent
1661086da2
commit
b400e2d1c4
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user