-
Notifications
You must be signed in to change notification settings - Fork 10
/
project.clj
77 lines (68 loc) · 3.41 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
(defproject org.toomuchcode/clara-tools "0.2.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.228"]
[compojure "1.4.0"]
[org.toomuchcode/clara-rules "0.11.1"]
[cljs-ajax "0.2.6"]
[hiccup "1.0.5"]
[secretary "1.2.3"]
[reagent "0.6.0-rc"]
[org.clojure/core.cache "0.6.4"]
[cljsjs/react-bootstrap "0.29.5-0"]
[http-kit "2.1.19"]
[com.cognitect/transit-cljs "0.8.239"]
[com.cognitect/transit-clj "0.8.285"]
[ring/ring-core "1.4.0"]
[javax.servlet/servlet-api "2.5"]
[org.clojure/core.match "0.3.0-alpha4"]
[prismatic/schema "1.0.3"]
[figwheel-sidecar "0.5.7"]
[com.cemerick/piggieback "0.2.1"]]
:resource-paths ["resources" "target/resources"]
:source-paths ["src/main/clojure"]
:test-paths ["src/test/clojure"]
:java-source-paths ["src/main/java"]
:lein-release {:deploy-via :clojars}
:plugins [[lein-cljsbuild "1.1.4"]
[lein-figwheel "0.5.7"]]
:hooks [leiningen.cljsbuild]
:jar-exclusions [#".*index\.html$" #".*repl\/public\/js.*"]
:figwheel {:ring-handler clara.tools.impl.server/app
:nrepl-port 7888}
:profiles {:dev {:dependencies [[com.cemerick/piggieback "0.2.1"]]}}
:cljsbuild {:builds
[
;; The REPL build should be excluded from compiled jars; it just exists
;; to provide a build conforming with Figwheel's expectations so that
;; we can run a ClojureScript REPL during development. The crucial difference
;; is that the expected asset-path by consumers and by Figwheel is different.
;; TODO: Determine if these can be unified by some means.
{:source-paths ["src/main/clojurescript"]
:figwheel true
:id "REPL"
:compiler {
:main "clara.tools.client.main"
:externs [ "externs.js" ]
:asset-path "../../target/resources/repl/public/js"
:output-to "target/resources/repl/public/js/clara-tools.js"
:output-dir "target/resources/repl/public/js"
:optimizations :none
:pretty-print true}}
{:source-paths ["src/main/clojurescript"]
:id "MAIN"
:compiler {
:main "clara.tools.client.main"
:externs [ "externs.js" ]
:asset-path "/public/js"
:output-to "target/resources/public/js/clara-tools.js"
:output-dir "target/resources/public/js"
:optimizations :none
:pretty-print true}}]}
:scm {:name "git"
:url "https://github.com/rbrush/clara-tools"}
:pom-addition [:developers [:developer
[:id "rbrush"]
[:name "Ryan Brush"]
[:url "http://www.toomuchcode.org"]]]
:deploy-repositories [["snapshots" {:url "https://oss.sonatype.org/content/repositories/snapshots/"
:creds :gpg}]])