-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
38 lines (32 loc) · 1.4 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 neojure "0.0.1-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License - v 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"
:distribution :repo}
:min-lein-version "2.3.4"
;; We need to add src/cljs too, because cljsbuild does not add its
;; source-paths to the project source-paths
:source-paths ["src/clj" "src/cljs"]
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2173"]
[org.webjars/d3js "3.4.9"]
[org.webjars/nvd3 "1.1.15-beta-2"]]
:plugins [[lein-cljsbuild "1.0.1"]]
:hooks [leiningen.cljsbuild]
:cljsbuild
{:builds {;; This build is only used for including any cljs source
;; in the packaged jar when you issue lein jar command and
;; any other command that depends on it
:neojure
{:source-paths ["src/cljs"]
;; The :jar true option is not needed to include the CLJS
;; sources in the packaged jar. This is because we added
;; the CLJS source codebase to the Leiningen
;; :source-paths
;:jar true
;; Compilation Options
:compiler
{:output-to "dev-resources/public/js/neojure.js"
:optimizations :advanced
:pretty-print false}}}})