-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
49 lines (36 loc) · 1.52 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
(defproject snap "1.0.0"
:description "State change diff engine"
:url "https://github.com/swlkr/snap"
:license {:name "The MIT License"
:url "https://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.89" :scope "provided"]
[proto-repl "0.3.1"]]
:plugins [[lein-cljsbuild "1.1.3"]
[lein-doo "0.1.7"]]
:min-lein-version "2.6.1"
:source-paths ["src"]
:test-paths ["test"]
:clean-targets ^{:protect false} [:target-path :compile-path "resources/public/js"]
:prep-tasks ["compile" ["cljsbuild" "once" "min"]]
:uberjar {:name "quiescent.jar"}
:repl-options {:init-ns snap.core}
:cljsbuild {:builds
[{:id "min"
:source-paths ["src"]
:jar true
:compiler {:main snap.core}
:output-to "resources/public/js/compiled/snap.js"
:output-dir "target"
:source-map-timestamp true
:optimizations :advanced
:pretty-print false}
{:id "test"
:source-paths ["src" "test"]
:compiler {:output-to "resources/public/js/compiled/testable.js"}
:main snap.test-runner
:optimizations :none
:target :nodejs}]}
:doo {:build "test"}
:scm {:name "git"
:url "https://github.com/swlkr/snap"})