-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathproject.clj
27 lines (27 loc) · 1.39 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(defproject pump "0.4.3"
:clojurescript? true
:description "CLJS bindings for React"
:url "http://github.com/piranha/pump"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-html.v10"}
:plugins [[lein-cljsbuild "0.3.3" :hooks false]]
:dependencies [[org.clojure/clojurescript "0.0-1913"]]
:cljsbuild {:builds [{:id "main"
:source-paths ["src"]
:compiler {:output-to "resources/target/pump.js"
:libs ["resources/react/"]
:optimizations :whitespace}
:jar true}
{:id "min"
:source-paths ["src"]
:compiler {:output-to "resources/target/pump.min.js"
;; :externs ["resources/externs/react.js"]
:libs ["resources/react/"]
:optimizations :advanced}}
{:id "map"
:source-paths ["src"]
:compiler {:output-to "pump.min.js"
:source-map "pump.min.js.map"
;; :externs ["resources/externs/react.js"]
:libs ["resources/react/"]
:optimizations :advanced}}]})