-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
55 lines (53 loc) · 1.81 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
(defproject com.birdseye-sw/dalap "0.1.0"
:description "Dalap is an extremely flexible tree-walking /
tree-transformation library for Clojure and Clojurescript. The name
is the acronym for Decide As Late As Possible, from lean programming."
:url "http://birdseye-sw.com/oss/dalap/"
:license {:name "MIT"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.4.0"]]
:profiles {:dev {:dependencies [[com.birdseye-sw/buster-cljs "0.1.0"]]}}
;;:plugins [[lein-cljsbuild "0.2.9"]
;; [com.birdseye-sw/lein-dalap "0.1.0"]]
;;:hooks [leiningen.dalap]
:source-paths ["src/clj" "src/cljs"]
:test-paths ["test/clj" "test/cljs"]
:cljsbuild
{:builds
[{:id "dev"
:source-path "src/cljs"
:compiler
{:output-to "resources/js/dalap_core_dev.js"
:optimizations :whitespace
:pretty-print true}}
;;;
{:id "browser-test"
:source-path "test/cljs"
:notify-command ["buster_runner.sh"]
:compiler
{:externs ["externs/buster.js"]
:libraries ["resources/js/dalap_core_dev.js"]
:output-to "resources/js/dalap_core_browser_test.js"
:optimizations :simple
:pretty-print true}}
;;;
{:id "node-test"
:source-path "test/cljs"
:notify-command ["buster_runner.sh"]
:compiler
{:externs ["externs/buster.js"]
:libraries ["resources/js/dalap_core_dev.js"]
:output-to "resources/js/dalap_core_node_test.js"
:optimizations :simple
:pretty-print true}}
;;;
{:id "browser-test-optimized"
:source-path "test/cljs"
:notify-command ["buster_runner.sh"]
:compiler
{:externs ["externs/buster.js"]
:libraries ["resources/js/dalap_core_dev.js"]
:output-to "resources/js/dalap_core_browser_test_optimized.js"
:optimizations :advanced}}
]}
)