-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathproject.clj
73 lines (60 loc) · 1.79 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
(require '[clojure.java.shell])
(require '[clojure.string])
(def VERSION
(do (-> (clojure.java.shell/sh "git" "describe" "--match" "v0.0")
(:out)
(.trim)
(subs 1))))
(defproject spellhouse/clairvoyant VERSION
:description "ClojureScript tracing library"
:url "http://github.com/spellhouse/clairvoyant"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies
[[org.clojure/clojure "1.6.0" :scope "provided"]
[org.clojure/clojurescript "0.0-2322" :scope "provided"]]
:clean-targets
^{:protect false} ["dev-resources/public/out"
"resources/public/out"
"target"]
:cljsbuild
{:builds
{:app {:source-paths ["src"]
:compiler
{:output-to "dev-resources/public/clairvoyant.js"
:output-dir "dev-resources/public/out/"
:optimizations :none
:pretty-print true}}}}
:aliases
{"auto-build" ~(clojure.string/split
"do cljsbuild clean, cljsbuild auto"
#"\s+")}
:release-tasks
[["clean"]
["with-profiles"
"-dev,+release"
"cljsbuild" "once"]
["jar"]]
:profiles
{:dev
{:dependencies
[[com.cemerick/piggieback "0.1.3"]
[weasel "0.4.0-SNAPSHOT"]]
:plugins
[[lein-cljsbuild "1.0.3"]]
:source-paths
["dev"]
:repl-options
{:nrepl-middleware
[cemerick.piggieback/wrap-cljs-repl]}
:cljsbuild
{:builds {:app {:source-paths ["dev"]}}}}
:release
{:cljsbuild
{:jar true
:builds
{:app {:compiler
{:output-to "resources/public/clairvoyant.js"
:output-dir "resources/public/out/"
:optimizations :advanced
:pretty-print false}}}}}})