2013-12-16 22:19:36 +00:00
|
|
|
|
|
|
|
|
2014-01-10 10:10:09 +00:00
|
|
|
(defproject cloact "0.1.0-SNAPSHOT"
|
2013-12-19 12:11:02 +00:00
|
|
|
:url "http://github.com/holmsand/cloact"
|
|
|
|
:license {:name "MIT"}
|
|
|
|
:description "A simple ClojureScript interface to React"
|
2013-12-17 14:29:02 +00:00
|
|
|
:dependencies [[org.clojure/clojure "1.5.1"]
|
2014-01-02 10:17:50 +00:00
|
|
|
[org.clojure/clojurescript "0.0-2138"]]
|
2013-12-16 22:19:36 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.0.1"]]
|
|
|
|
:profiles {:prod {:cljsbuild
|
|
|
|
{:builds
|
|
|
|
{:client {:compiler
|
|
|
|
{:optimizations :advanced
|
2014-01-10 10:10:09 +00:00
|
|
|
:preamble ^:replace ["cloact/react.min.js"]
|
2014-01-05 10:16:01 +00:00
|
|
|
:pretty-print false}}}}}
|
2013-12-16 22:19:36 +00:00
|
|
|
:test {:plugins [[com.cemerick/clojurescript.test "0.2.1"]]
|
|
|
|
:cljsbuild
|
|
|
|
{:builds
|
|
|
|
{:client {:source-paths ["test"
|
|
|
|
"examples/todomvc/src"
|
2014-01-07 19:04:49 +00:00
|
|
|
"examples/simple/src"]}}}}
|
2013-12-16 22:19:36 +00:00
|
|
|
:srcmap {:cljsbuild
|
|
|
|
{:builds
|
|
|
|
{:client
|
|
|
|
{:compiler
|
|
|
|
{:source-map "target/cljs-client.js.map"
|
|
|
|
:source-map-path "client"}}}}}}
|
|
|
|
:source-paths ["src"]
|
|
|
|
:cljsbuild
|
|
|
|
{:builds
|
2014-01-07 19:04:49 +00:00
|
|
|
{:client {:source-paths ["src"]
|
2013-12-16 22:19:36 +00:00
|
|
|
:compiler
|
2014-01-10 10:10:09 +00:00
|
|
|
{:preamble ["cloact/react.js"]
|
|
|
|
:output-dir "target/client"
|
2013-12-16 22:19:36 +00:00
|
|
|
:output-to "target/cljs-client.js"
|
|
|
|
:pretty-print true}}}})
|