-
Notifications
You must be signed in to change notification settings - Fork 18
/
project.clj
114 lines (97 loc) · 4.88 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
(defproject datsync "0.0.1-alpha2-SNAPSHOT"
:description "Datomic <-> DataScript syncing/replication utilities"
:url "http://github.com/metasoarous/datsync"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:min-lein-version "2.0.0"
:dependencies [[org.clojure/clojure "1.9.0-alpha15"] ; match version needed by other dat* bits
[org.clojure/tools.reader "1.0.0-beta3"]
[org.clojure/tools.logging "0.3.1"]
[org.clojure/clojurescript "1.9.293"]
[commons-codec "1.10"]
[datreactor "0.0.1-alpha1-SNAPSHOT"]
[datspec "0.0.1-alpha1-SNAPSHOT"]
;; Do we need this?
[org.clojure/core.async "0.2.395"]
[com.stuartsierra/component "0.3.2"]
[environ "1.1.0"]
[reagent "0.6.0"]
;[re-frame "0.9.1"]
[datascript "0.18.2"]
[com.taoensso/timbre "4.8.0"]
[com.taoensso/sente "1.13.0"]
;; TODO need to switch to this soon for security reasons
;[com.taoensso/sente "1.14.0-RC2"]
[com.taoensso/encore "2.88.2"]
[com.cognitect/transit-clj "0.8.313" :exclusions [commons-codec]]
[com.cognitect/transit-cljs "0.8.256"]
[datascript-transit "0.3.0"]
;; Server db (datomic)
[com.datomic/datomic-free "0.9.5544" :exclusions [joda-time com.google.guava/guava]]
;; Not sure if we need; probably not... XXX
[bidi "2.0.16"]
[io.rkn/conformity "0.4.0"]
[com.rpl/specter "0.13.2"]
[prismatic/plumbing "0.5.3"]]
;; ## Snipped from DataScript's
;; ============================
;;
;; The following was taken from DataScript's project.clj; may need to clean up a bit
;;
;; Leaving this out for now
;:global-vars {*warn-on-reflection* true}
:cljsbuild {
:builds [
{ :id "release"
:source-paths ["src"]
:assert false
:compiler {
:output-to "release-js/datsync.bare.js"
:optimizations :advanced
:pretty-print false
:elide-asserts true
:output-wrapper false
:parallel-build true}}]}
;:notify-command ["release-js/wrap_bare.sh"]
:profiles {
:dev {
:source-paths ["test" "dev" "src"]
:plugins [
[lein-cljsbuild "1.1.2"]
[lein-typed "0.3.5"]]
:cljsbuild {
:builds [
{ :id "advanced"
:source-paths ["src" "test"]
:compiler {
:output-to "target/datsync.js"
:optimizations :advanced
:source-map "target/datsync.js.map"
:pretty-print true
:recompile-dependents false
:parallel-build true}}
{ :id "none"
:source-paths ["src" "test" "dev"]
:compiler {
:main datsync.test
:output-to "target/datsync.js"
:output-dir "target/none"
:optimizations :none
:source-map true
:recompile-dependents false
:parallel-build true}}]}}}
:clean-targets ^{:protect false} [
"target"
"release-js/datsync.bare.js"
"release-js/datsync.js"]
;; ## Back to from extraction...
;; =============================
;; Once we're ready
;:core.typed {:check []
;:check-cljs []}
;; Not sure if we need these either
:resource-paths ["resources" "resources-index/prod"]
:target-path "target/%s"
:aliases {"package"
["with-profile" "prod" "do"
"clean" ["cljsbuild" "once"]]})