2013-12-16 22:19:36 +00:00
|
|
|
|
|
|
|
|
2013-12-18 14:02:57 +00:00
|
|
|
(defproject cloact "0.0.3"
|
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"]
|
|
|
|
[org.clojure/clojurescript "0.0-2120"]]
|
2013-12-16 22:19:36 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.0.1"]]
|
2013-12-18 11:14:57 +00:00
|
|
|
;; :hooks [leiningen.cljsbuild]
|
2013-12-16 22:19:36 +00:00
|
|
|
:profiles {:prod {:cljsbuild
|
|
|
|
{:builds
|
|
|
|
{:client {:compiler
|
|
|
|
{:optimizations :advanced
|
|
|
|
:pretty-print true}}}}}
|
|
|
|
:test {:plugins [[com.cemerick/clojurescript.test "0.2.1"]]
|
|
|
|
:cljsbuild
|
|
|
|
{:builds
|
|
|
|
{:client {:source-paths ["test"
|
|
|
|
"examples/todomvc/src"
|
|
|
|
"examples/simple/src"]}
|
|
|
|
:server {:source-paths ["test"]}}}}
|
|
|
|
:srcmap {:cljsbuild
|
|
|
|
{:builds
|
|
|
|
{:client
|
|
|
|
{:compiler
|
|
|
|
{:source-map "target/cljs-client.js.map"
|
|
|
|
:source-map-path "client"}}}}}}
|
|
|
|
:source-paths ["src"]
|
|
|
|
:cljsbuild
|
|
|
|
{:builds
|
|
|
|
{:server {:source-paths ["src"]
|
|
|
|
:compiler
|
|
|
|
{:output-dir "target/server"
|
|
|
|
:output-to "target/cljs-server.js"
|
|
|
|
:pretty-print true}}
|
|
|
|
:client {:source-paths ["src"]
|
|
|
|
:compiler
|
|
|
|
{:output-dir "target/client"
|
|
|
|
:output-to "target/cljs-client.js"
|
|
|
|
:pretty-print true}}}})
|