Add some logging to the build script

This commit is contained in:
Jeremy Dormitzer 2018-01-10 08:04:47 -05:00
parent 1661086da2
commit b400e2d1c4
No known key found for this signature in database
GPG Key ID: 04F17C0F5A32C320

View File

@ -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"