forked from jtkDvlp/cljs-workers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
38 lines (31 loc) · 1.34 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
(defproject cljs-workers "1.1.2-alpha"
:description "A clojurescript lib for performing async tasks via web workers"
:url "https://github.com/jtkDvlp/cljs-workers"
:license {:name "MIT"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.229"]]
:min-lein-version "2.5.3"
:source-paths ["src"]
:test-paths ["test"]
:clean-targets ^{:protect false} ["resources/public/js" "target"]
:plugins [[lein-cljsbuild "1.1.4" :exclusions [[org.clojure/clojure]]]
[lein-figwheel "0.5.0-1"]]
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.8"]
[com.cemerick/piggieback "0.2.1"]]}}
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:cljsbuild
{:builds
[{:id "test"
:source-paths ["src" "test"]
:figwheel true
:compiler {:main cljs-workers.test
:asset-path "js/test/out"
:output-to "resources/public/js/test/test.js"
:output-dir "resources/public/js/test/out" }}
{:id "worker"
:source-paths ["src" "test"]
:compiler {:main cljs-workers.test
:asset-path "js/worker/out"
:output-to "resources/public/js/worker/worker.js"
:output-dir "resources/public/js/worker/out"
:optimizations :advanced}}]})