41 lines
1.7 KiB
Clojure
41 lines
1.7 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"]]}}
|
|
|
|
|
|
: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 "demo" ;; currently bogus, there is no demo or tests
|
|
:source-paths ["src"]
|
|
:compiler {:output-to "run/compiled/demo.js"
|
|
:source-map "run/compiled/demo.js.map"
|
|
:output-dir "run/compiled/demo"
|
|
:optimizations :none
|
|
:pretty-print true}}]}
|
|
|
|
:aliases {"auto" ["do" "clean," "cljsbuild" "clean," "cljsbuild" "auto" "demo,"]
|
|
"once" ["do" "clean," "cljsbuild" "clean," "cljsbuild" "once" "demo,"]
|
|
;"test" ["do" "clean," "cljsbuild" "clean," "cljsbuild" "auto" "test"]
|
|
}
|
|
)
|