-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathproject.clj
More file actions
79 lines (62 loc) · 2.76 KB
/
project.clj
File metadata and controls
79 lines (62 loc) · 2.76 KB
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
;; Copyright © 2013, JUXT LTD. All Rights Reserved.
;;
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;;
;; By using this software in any fashion, you are agreeing to be bound by the
;; terms of this license.
;;
;; You must not remove this notice, or any other, from this software.
(load-file "project-header.clj")
(def version (get-version))
(defproject jig version
:description "A jig for developing systems using component composition. Based on Stuart Sierra's 'reloaded' workflow."
:url "https://juxt.pro/jig"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
;; lein-sub is used for deploying the sub-projects
:plugins [[lein-sub "0.2.3"]]
;; Jig comes with a library of optional pre-built ready-to-go Jig
;; components that are available for projects to make use of.
:sub [
"protocols"
"extensions/async" ; core.async channels that can be shared by dependants
"extensions/bidi" ; URI routing library
"extensions/cljs-builder" ; ClojureScript compilation
"extensions/compojure" ; URI routing library
"extensions/http-kit" ; HTTP server (with client library)
"extensions/jetty" ; HTTP server
"extensions/netty" ; Generic network server library
"extensions/netty-mqtt" ; MQTT support for Netty
"extensions/ring" ; Ring utilities
"extensions/stencil" ; Templating library
]
:exclusions
[
;; tools.reader comes in through Ring, but older versions are incompatible with
;; newer releases of ClojureScript.
org.clojure/tools.reader
]
:dependencies
[
[jig/protocols ~version]
[org.clojure/clojure "1.5.1"]
;; tools.namespace is what provides the foundation for the reset functionality
[org.clojure/tools.namespace "0.2.4"]
;; leiningen-core helps us find the classpath for projects referenced in the configuration files
[leiningen-core "2.3.2" :exclusions [org.clojure/tools.nrepl]]
;; tools.logging provides our logging API...
[org.clojure/tools.logging "0.2.6"]
;; ... which uses logback as the logging back-end
[ch.qos.logback/logback-classic "1.0.7" :exclusions [org.slf4j/slf4j-api]]
[org.slf4j/jul-to-slf4j "1.7.2"]
[org.slf4j/jcl-over-slf4j "1.7.2"]
[org.slf4j/log4j-over-slf4j "1.7.2"]
;; Graph algorithms for dependency graphs
[jkkramer/loom "0.2.0"]]
:repl-options {:prompt (fn [ns] (str "Jig " ns "> "))
:welcome (user/welcome)}
:aliases {"deploy-all" ["do" "sub" "deploy" "clojars," "deploy" "clojars"]
"install-all" ["do" "sub" "install," "install"]}
)