-
-
Notifications
You must be signed in to change notification settings - Fork 148
/
project.clj
45 lines (45 loc) · 2.78 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
(defproject viebel/klipse "7.12.0"
:description "Embeddable multi-language WEB REPL"
:license "GPL-3.0"
:url "https://github.com/viebel/klipse"
:resource-paths ["scripts" "src" "resources" "target"]
:min-lein-version "2.8.1"
:middleware [lein-tools-deps.plugin/resolve-dependencies-with-deps-edn]
:lein-tools-deps/config {:config-files [:install :user :project]}
:profiles {:deploy {:resource-paths ^:replace ["src"]
:lein-tools-deps/config ^:replace {:config-files [:install :user]}}}
:deploy-repositories [["clojars" {:sign-releases false
:url "https://clojars.org/repo"}]]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-hiera "0.9.5"]
[lein-tools-deps "0.4.1"]]
:clean-targets ^{:protect false} ["targets"]
:hiera {:path "deps-graph.png"
:vertical true
:show-external false
:cluster-depth 2
:trim-ns-prefix true}
:cljsbuild {:builds {:plugin {:source-paths ["src/klipse/run/plugin"]
:compiler {:output-to "resources/public/plugin/js/klipse_plugin.js"
:output-dir "resources/public/plugin/js"
:pretty-print false
:optimize-constants true
:static-fns true
;:elide-asserts true
:closure-defines {klipse.core/version
~(->> (slurp "project.clj")
(re-seq #"\".*\"")
(first))}
:optimizations :simple
:verbose false}}
:plugin-prod {:source-paths ["src/klipse/run/plugin_prod"]
:compiler {:output-to "resources/public/plugin_prod/js/klipse_plugin.min.js"
:output-dir "resources/public/plugin_prod/js"
:pretty-print true
:elide-asserts false
:optimizations :advanced
:closure-defines {klipse.core/version
~(->> (slurp "project.clj")
(re-seq #"\".*\"")
(first))}
:verbose true}}}})