-
Notifications
You must be signed in to change notification settings - Fork 2
/
project.clj
102 lines (82 loc) · 4.04 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
(defproject dragonmark/spiffy "0.1.0-SNAPSHOT"
:description "A spiffy way to start a Clojure web project"
:url "http://spiffy-clj.org"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[dragonmark/circulate "0.2.0"]
[org.clojure/clojurescript "0.0-2322"]
[dragonmark/util "0.1.1"]
[http-kit "2.1.16"]
[environ "0.5.0"]
[racehub/om-bootstrap "0.2.6"]
[secretary "1.2.0"]
[compojure "1.1.8"]
[prismatic/schema "0.2.4"]
[org.clojure/java.jdbc "0.3.4"]
[com.h2database/h2 "1.4.179"]
[crypto-password "0.1.3"]
[org.postgresql/postgresql "9.3-1101-jdbc41"]
[ragtime/ragtime.sql.files "0.3.7"]
[potemkin "0.3.4"]
[om "0.7.1"]]
;; :jvm-opts ["-Xmx1g" "-server" "-XX:+UseG1GC"]
:jar-exclusions [#"\.cljx|\.swp|\.swo|\.DS_Store"]
;; ps axf | grep java | grep -v grep | awk '{print "jmap -histo:live " $1}' | sh
:source-paths ["src/clj" "target/generated/clj/"]
:test-paths ["test ""target/generated/test/clj"]
:min-lein-version "2.0.0"
:hooks [leiningen.cljsbuild cljx.hooks]
:cljx {:builds [{:source-paths ["src/cljx"]
:output-path "target/generated/clj"
:rules :clj}
{:source-paths ["src/cljx"]
:output-path "target/generated/cljs"
:rules :cljs}
{:source-paths ["test/cljx"]
:output-path "target/generated/test/clj"
:rules :clj}
{:source-paths ["test/cljx"]
:output-path "target/generated/test/cljs"
:rules :cljs}]}
:cljsbuild {
:builds [{:id "dev"
:source-paths ["target/generated/cljs" "src/cljs"]
:compiler {:output-to "resources/public/gen/main.js"
:output-dir "resources/public/gen"
:optimizations :whitespace
:pretty-print true
:source-map "resources/public/gen/main.js.map"
}}
{:id "release"
:source-paths ["target/generated/cljs" "src/cljs"]
:compiler {:output-to "resources/public/gen/main.js"
:optimizations :advanced
:pretty-print false
:preamble ["react/react.min.js"]
:externs ["react/externs/react.js"]}}]}
:plugins [[com.cemerick/clojurescript.test "0.3.1"]
[ragtime/ragtime.lein "0.3.7"]
[com.cemerick/austin "0.1.4"]
[com.keminglabs/cljx "0.4.0"]
[lein-pdo "0.1.1"]
[lein-cljsbuild "1.0.3"]]
:ragtime {:migrations ragtime.sql.files/migrations
:database "jdbc:h2:file:./spiffy.db"}
;; :profiles {:dev {:plugins [[org.clojure/clojurescript "0.0-2268"]
;; [com.cemerick/clojurescript.test "0.3.0"]
;; [com.keminglabs/cljx "0.4.0"]
;; [lein-cljsbuild "1.0.3"]]
;; :aliases {"cleantest" ["do" "clean," "cljx" "once," "test,"
;; "cljsbuild" "test"]
;; "deploy" ["do" "clean," "cljx" "once," "deploy" "clojars"]}}}
:uberjar-name "dragonmark-spiffy.jar"
:repositories {"sonatype-oss-public"
"https://oss.sonatype.org/content/repositories/snapshots/"}
:aliases {"build-auto" ["do" "clean,"
"cljx" "once,"
["pdo"
"cljx" "auto,"
"cljsbuild" "auto"]]}
:main dragonmark.spiffy.server
)