-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathproject.clj
More file actions
85 lines (70 loc) · 3.14 KB
/
project.clj
File metadata and controls
85 lines (70 loc) · 3.14 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
80
81
82
83
84
85
(def +version+ "3.72-SNAPSHOT")
(defproject com.sixsq.slipstream/SlipStreamUI "3.72-SNAPSHOT"
:description "Legacy Web Browser Interface"
:url "https://github.com/slipstream/SlipStreamUI"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.txt"
:distribution :repo}
:plugins [[lein-parent "0.3.2"]
[lein-expectations "0.0.8"]
[lein-resource "16.9.1"]]
:parent-project {:coords [sixsq/slipstream-parent "5.3.19"]
:inherit [:plugins
:min-lein-version
:managed-dependencies
:repositories
:deploy-repositories]}
:source-paths ["clj/src" "target/src"]
:resource-paths ["clj/resources"]
:pom-location "target/"
:aot :all
:dependencies
[[org.clojure/clojure]
[com.taoensso/tower]
[clj-http]
[clj-time]
[enlive]
[org.clojure/data.json]
[org.clojure/data.xml]
[superstring]
[org.clojure/tools.reader]
[com.taoensso/timbre]]
:profiles
{:test
{:dependencies [[expectations]
[javax.servlet/javax.servlet-api]
[net.cgrand/moustache]
[ring]]
:source-paths ["clj/test" "src/test" "target/generated"]}
:dev
{:dependencies [[expectations]
[javax.servlet/javax.servlet-api]
[net.cgrand/moustache]
[ring]]
:source-paths ["clj/src" "clj/test" "target/generated"]
:repl-options {;; What to print when the repl session starts.
:welcome
(println (str
;; These first lines are the default ones:
"\n"
" Docs: (doc function-name-here)\n"
" (find-doc \"part-of-name-here\")\n"
" Source: (source function-name-here)\n"
" Javadoc: (javadoc java-object-or-class-here)\n"
" Exit: Control+D or (exit) or (quit)\n"
" Results: Stored in vars *1, *2, *3, an exception in *e\n"
"\n"
;; This line is related to the SlipStream project:
"SlipStream: (reload-headless-app) to start the headless test server.\n"))
;; This expression will run when first opening a REPL
:init (defmacro reload-headless-app
[& {:keys [port]}]
`(do
(require '[slipstream.ui.main :as s] :reload-all)
(slipstream.ui.main/reload-headless-app ~@(when port `(:port ~port)))))
}}}
:hooks [leiningen.resource]
:resource {:resource-paths [["clj/src-templates"
{:includes [#".*slipstream_version\.clj"]}]]
:target-path "target/src"
:update true})