-
Notifications
You must be signed in to change notification settings - Fork 8
/
project.clj
50 lines (50 loc) · 1.99 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
(defproject org.broadinstitute/firecloud-ui "0.0.1"
:dependencies
[
[inflections "0.13.0"]
[dmohs/react "1.3.0"]
[org.broadinstitute/react-cljs-modal "2017.08.28"]
[org.clojure/clojure "1.9.0"]
[org.clojure/clojurescript "1.9.946"]
]
:plugins [[lein-cljsbuild "1.1.7"] [lein-figwheel "0.5.14"]]
:profiles {:dev
{:dependencies [[binaryage/devtools "0.9.9"]]
:cljsbuild
{:builds
{:client
{:source-paths ["src/cljs/test"]
:figwheel true
:compiler
{;; Use this namespace (which requires main) so that testing is readily available
;; in all dev builds.
:main "broadfcuitest.testrunner"
:output-dir "resources/public/build"
:optimizations :none
:pretty-print true
:anon-fn-naming-policy :mapped
:preloads [devtools.preload]
:external-config {:devtools/config {:features-to-install
[:formatters :hints]}}}}}}}
:deploy
{:cljsbuild
{:builds
{:client
{:compiler
{;; As of 10/29/15, advanced optimization triggers
;; infinite recursion, which I was not able to figure
;; out.
:optimizations :simple
:static-fns true
:fn-invoke-direct true
:elide-asserts true
:language-out :ecmascript5
:optimize-constants true}}}}}}
:clean-targets ^{:protect false} [:target-path]
:cljsbuild {:builds
{:client
{:source-paths ["src/cljs/main"]
:compiler {:main "broadfcui.main"
:output-dir "target/build"
:output-to "target/main.js"
:asset-path "build"}}}})