-
Notifications
You must be signed in to change notification settings - Fork 9
/
project.clj
52 lines (47 loc) · 2.04 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
(defproject omingard "0.1.0-SNAPSHOT"
:description "Better Solitaire 'Irmingard' written in Om"
:url "https://github.com/paulwittmann/omingard"
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2322"]
[org.clojure/core.async "0.1.338.0-5c5012-alpha"]
[om "0.7.1"]]
:plugins [[lein-cljsbuild "1.0.3"]
[lein-garden "0.1.9" :exclusions [org.clojure/clojure]]]
:source-paths ["src"]
:cljsbuild {
:builds [
{:id "omingard"
:source-paths ["src/omingard"] ;; not "src" b/c we don't want to build the stuff inside omingard_css.
:compiler {
:output-to "omingard.js"
:output-dir "out"
:optimizations :none
:source-map "omingard.js.map"
:pretty-print true}}
{:id "production"
:source-paths ["src/omingard/"]
:compiler {
:output-to "resources/public/omingard.js"
:output-dir "resources/public/out/"
:optimizations :advanced
:pretty-print false
:preamble ["react/react.min.js"]
:externs ["react/externs/react.js"]}}
{:id "test"
:source-paths ["src/omingard" "src/omingardtest"]
:compiler {
:output-to "test.js"
:output-dir "testout"
:optimizations :none}}
]}
;;:source-map true}}]}
:garden {:builds [{;; Optional name of the build:
:id "application"
;; The var containing your stylesheet:
:stylesheet omingard-css.core/application
;; Compiler flags passed to `garden.core/css`:
:compiler {;; Where to save the file:
:output-to "resources/application.css"
;; Compress the output?
:pretty-print? false}}]}
)