File: project.clj

package info (click to toggle)
fast-zip-clojure 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 152 kB
  • ctags: 3
  • sloc: xml: 142; makefile: 20
file content (65 lines) | stat: -rw-r--r-- 2,433 bytes parent folder | download
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
53
54
55
56
57
58
59
60
61
62
63
64
65
(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.6.0" :scope "provided"]
                 [org.clojure/clojurescript "0.0-2311" :scope "provided"]]

  :plugins [[perforate "0.3.2"]
            [lein-cljsbuild "1.0.3"]
            [com.cemerick/clojurescript.test "0.3.1"]]

  :source-paths
  ["src/clj" "src/cljs"]

  :test-paths
  ["test/clj" "test/cljs"]

  ;; Prevent lein from disabling jvm optimizations.
  :jvm-opts ^:replace ["-server"]

  :profiles {:dev
             {:dependencies
              [[perforate "0.3.3"]
               [criterium "0.4.3"]
               [org.bodil/cljs-noderepl "0.1.11"]
               [com.cemerick/piggieback "0.1.3"]]
              :node-dependencies
              [benchmark "1.0.0"]
              :plugins
              [[lein-npm "0.4.0"]
               [com.cemerick/austin "0.1.5"]]
              :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"]}})