-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
85 lines (85 loc) · 3.67 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
(defproject kaleidocs "1.2.0"
:description "Produce office documents from templates"
:url "https://github.com/Kaleidocs/kaleidocs"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[http-kit "2.1.16"]
[lib-noir "0.7.8"]
[com.taoensso/timbre "2.7.1"]
[ring/ring-devel "1.1.8"]
[ring/ring-json "0.3.0"]
[kaleidocs/meld "0.4.0"]
[kaleidocs/clj-excel "0.0.1"]
[korma "0.3.0-RC5"]
[org.clojure/java.jdbc "0.2.3"]
[com.h2database/h2 "1.3.176"]
[vietnamese-utils "0.2.0"]
[n2w-vi "0.1.0"]
[org.clojars.hozumi/clj-commons-exec "1.0.7"]]
:profiles
{:deploy
{:uberjar-name "kaleidocs.jar"
:main kaleidocs.core
:cl2c {:frontend
{:watch ["src-cl2", "test-cl2"]
:filter (or "src-cl2/app.cl2"
(and "src-cl2" ".hic$"))
:path-map ["src-cl2/" => "resources/public/"]
:paths ["node_modules/"]
:strategy "prod"
:optimizations :simple
;; some files may take too long to compile. We need a limit
:timeout 2000}}}
:dev
{:source-paths ["dev"]
:jvm-opts["-Duser.language=vi" "-Duser.country=VN" "-Duser.variant=VN"]
:eval-in :nrepl
:dependencies
[[org.clojure/tools.namespace "0.2.4"]
[lobos "1.0.0-beta1"]
[fr.opensagres.xdocreport/fr.opensagres.xdocreport.document.odt "1.0.3"]
[fr.opensagres.xdocreport/fr.opensagres.xdocreport.document.ods "1.0.3"]
[chlorine/repl "0.1.0-SNAPSHOT"]]
:repl-options {:nrepl-middleware [chlorine.repl/wrap-chlorine-repl]}
:cl2c {:frontend {:optimizations :pretty
:strategy "dev"
:watch ["src-cl2", "test-cl2"]
:filter (or "src-cl2/app.cl2"
(and "src-cl2" ".hic$"))
:path-map ["src-cl2/" => "resources/public/"]
:paths ["node_modules/" "src-cl2/"]
;; some files may take too long to compile. We need a limit
:timeout 2000}}}}
:node-dependencies [[atom-crud "0.1.0-SNAPSHOT"]]
:nodejs {:keywords ["chlorinejs",
"clojure",
"macro",
"angular",
"qunit",
"bootstrap"]
:devDependencies {:angular-cl2 "0.4.0-SNAPSHOT",
:less "~1.4.0"
:testem "0.6.2"
:socket-cl2 "0.2.0"
:bower "*"}
:scripts {:testem "testem ci"}}
:plugins [[lein-cl2c "0.0.1-SNAPSHOT"]
[lein-bower "0.5.1"]
[lein-npm "0.4.0"]]
:aliases {"frontend" ["do" "npm" "install," "bower" "install" "-f," "cl2c" "once" "frontend"]
"package" ["with-profile" "deploy" "do" "clean," "uberjar"]
"deploy!" ["do" "frontend," "package"]}
:uberjar-exclusions [#"lobos"]
:bower {:directory "resources/public/vendor"}
:bower-dependencies [[sockjs "~0.3.4"]
[angular-bootstrap "0.10.0"]
[bootstrap "3.1.1"]
[ng-table "~0.3.1"]
[angular-route "~1.2.16"]
[angular-resource "~1.2.16"]
[angular-sanitize "~1.2.16"]
[angular-animate "~1.2.16"]
[angular-i18n "~1.2.16"]
[ng-file-upload "~1.2.11"]]
)