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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
(defproject fast-zip "0.5.0"
:description "A modification of clojure.zip that uses protocols and records."
:url "https://github.com/akhudek/fast-zip"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.10.x" :scope "provided"]]
:source-paths
["src/clj" "src/cljs"]
:test-paths
["test/clj" "test/cljs"]
;; Prevent lein from disabling jvm optimizations.
:jvm-opts ^:replace ["-server"]
:profiles {:dev
{:aliases
{"clean-test" ~(clojure.string/split
"do test, cljsbuild clean, cljsbuild test"
#" ")
"clean-bench" ~(clojure.string/split
"do cljsbuild clean, cljsbuild once bench"
#" ")}
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}}
:perforate {:environments [{:namespaces [fast-zip.core-bench]}]}
:scm {:name "git"
:url "https://github.com/akhudek/fast-zip"}
:deploy-repositories
[["clojars" {:signing {:gpg-key "D8B883CA"}}]]
:cljsbuild
{:builds [{:id "test"
:source-paths ["src/cljs" "test/cljs"]
:compiler {:output-to "target/cljs/testable.js"
:optimizations :whitespace
:pretty-print true}}
{:id "bench"
:source-paths ["src/cljs" "benchmarks"]
:notify-command ["node" "target/cljs/benchmark.js"]
:compiler {:target :nodejs
:output-to "target/cljs/benchmark.js"
:optimizations :simple
:pretty-print true}}]
:test-commands {"unit-tests" ["phantomjs" :runner
"target/cljs/testable.js"]}}
:local-repo "debian/maven-repo")
|