-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathproject.clj
61 lines (57 loc) · 2.91 KB
/
project.clj
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
(defproject hitchhiker-tree "0.1.0-SNAPSHOT"
:description "A Hitchhiker Tree Library"
:url "https://github.com/dgrnbrg/hitchhiker-tree"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.8.51" :scope "provided"]
[org.clojure/core.memoize "0.5.8"]
[com.taoensso/carmine "2.12.2"]
[org.clojure/core.rrb-vector "0.0.11"]
[org.clojure/core.cache "0.6.5"]
[io.replikativ/incognito "0.2.2-SNAPSHOT"]
[io.replikativ/konserve "0.4.9"]]
:aliases {"bench" ["with-profile" "profiling" "run" "-m" "hitchhiker.bench"]}
:jvm-opts ["-server" "-Xmx3700m" "-Xms3700m"]
:profiles {:test
{:dependencies [[org.clojure/test.check "0.9.0"]]}
:profiling
{:main hitchhiker.bench
:source-paths ["env/profiling"]
:dependencies [[criterium "0.4.4"]
[org.clojure/tools.cli "0.3.3"]
[org.clojure/test.check "0.9.0"]
[com.infolace/excel-templates "0.3.3"]]}
:dev {:dependencies [[binaryage/devtools "0.8.2"]
[figwheel-sidecar "0.5.8"]
[com.cemerick/piggieback "0.2.1"]
[org.clojure/test.check "0.9.0"]]
:source-paths ["src" "dev"]
:plugins [[lein-figwheel "0.5.8"]]
:repl-options {; for nREPL dev you really need to limit output
:init (set! *print-length* 50)
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}}
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
:cljsbuild {:builds
[{:id "dev"
:figwheel true
:source-paths ["src"]
:compiler {:main hitchhiker.tree.core
:asset-path "js/out"
:output-to "resources/public/js/core.js"
:output-dir "resources/public/js/out" }}
;; inspired by datascript project.clj
{:id "test"
:source-paths ["src" "test" "dev"]
:compiler {
:main hitchhiker-tree.konserve-test
:output-to "target/test.js"
:output-dir "target/none"
:optimizations :none
:source-map true
:recompile-dependents false
:parallel-build true
}}
]}
:plugins [[lein-figwheel "0.5.8"]
[lein-cljsbuild "1.1.4" :exclusions [[org.clojure/clojure]]]])