/
project.clj
33 lines (33 loc) · 1.5 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
(defproject subpar "0.0.0"
:description "an approximate subset of paredit for codemirror"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.216"]]
:plugins [[lein-cljsbuild "1.1.3"]]
:cljsbuild
{:builds
[{:source-paths ["src"],
:id "prod",
:compiler
{:externs ["resources/private/js/codemirror-externs.js"],
:optimizations :advanced,
:output-to "resources/public/js/subpar.core.js",
:pretty-print false}}
{:source-paths ["test"],
:id "test",
:compiler
{:externs ["resources/private/js/codemirror-externs.js"],
:optimizations :whitespace,
:output-to "resources/private/js/unit-test.js",
:pretty-print true}}
{:source-paths ["src"],
:id "dev",
:compiler
{:externs ["resources/private/js/codemirror-externs.js"],
:optimizations :whitespace,
:output-to "resources/public/js/subpar.core.debug.js",
:pretty-print true}}],
:test-commands
{"unit"
["phantomjs"
"phantom/unit-test.js"
"resources/private/html/unit-test.html"]}})