re-frame/project.clj

44 lines
2.0 KiB
Clojure

(defproject re-frame "0.2.0"
:description "A Reagent Framework For Writing SPAs, in Clojurescript"
:url "https://github.com/Day8/re-frame.git"
:license {:name "MIT"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2760"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
[reagent "0.5.0-alpha3"]]
:profiles {:debug {:debug true}
:dev {:dependencies [[spellhouse/clairvoyant "0.0-48-gf5e59d3"]]
:plugins [[lein-cljsbuild "1.0.4"]
[com.cemerick/clojurescript.test "0.3.3"]]}}
:clean-targets [:target-path
"run/compiled/demo"]
:resource-paths ["run/resources"]
:jvm-opts ["-Xmx1g" "-XX:+UseConcMarkSweepGC"] ;;
:source-paths ["src"]
:test-paths ["test"]
;; Exclude the demo code from the output of either:
;; - lein jar
;; - lein install
;; :jar-exclusions [#"(?:^|\/)re-frame-demo\/"]
:cljsbuild {:builds [{:id "test" ;; currently bogus, there is no demo or tests
:source-paths ["test"]
:compiler {:output-to "run/compiled/test.js"
:source-map "run/compiled/test.js.map"
:output-dir "run/compiled/test"
:optimizations :simple
:pretty-print true}}]
:test-commands {"rhino" ["rhino" "-opt" "-1" :rhino-runner
""
"run/compiled/test.js"]}}
:aliases {"auto" ["do" "clean," "cljsbuild" "clean," "cljsbuild" "auto" "demo,"]
"once" ["do" "clean," "cljsbuild" "clean," "cljsbuild" "once" "demo,"]
"test" ["do" "clean," "cljsbuild" "once," "cljsbuild" "test" "rhino"]})