forked from binaryage/chromex-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
35 lines (29 loc) · 2.08 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
(defproject binaryage/chromex-sample "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.9.0-alpha14"]
[org.clojure/clojurescript "1.9.473"]
[org.clojure/core.async "0.3.441"]
[binaryage/chromex "0.5.6"]
[binaryage/devtools "0.9.1"]
[environ "1.1.0"]
[fenoloftaleina/delaunay-triangulation "1.0.2"]]
:plugins [[lein-cljsbuild "1.1.5"]
[lein-shell "0.5.0"]
[lein-environ "1.1.0"]
[lein-kibit "0.1.3"]]
:source-paths ["src/content_script"]
:clean-targets ^{:protect false} ["target"
"resources/unpacked/compiled"]
:cljsbuild {:builds {}} ; prevent https://github.com/emezeske/lein-cljsbuild/issues/413
:profiles {:unpacked-content-script
{:cljsbuild {:builds
{:content-script
{:source-paths ["src/content_script"]
:compiler {:output-to "resources/unpacked/compiled/content-script/main.js"
:output-dir "resources/unpacked/compiled/content-script"
:asset-path "compiled/content-script"
:main chromex-sample.content-script
;:optimizations :whitespace ; content scripts cannot do eval / load script dynamically
:optimizations :advanced ; let's use advanced build with pseudo-names for now, there seems to be a bug in deps ordering under :whitespace mode
:pseudo-names true
:pretty-print true}}}}}}
:aliases {"content" ["with-profile" "+unpacked-content-script" "cljsbuild" "auto" "content-script"]})