Repository navigation
Expand file tree
/
Copy pathproject.clj
More file actions
83 lines (69 loc) · 4.02 KB
/
Copy pathproject.clj
File metadata and controls
83 lines (69 loc) · 4.02 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
(defproject quil "2.8.0"
:description "(mix Processing Clojure)"
:url "http://github.com/quil/quil"
:mailing-list {:name "Quil Mailing List"
:archive "https://groups.google.com/forum/?fromgroups#!forum/clj-processing"
:post "clj-processing@googlegroups.com"}
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[quil/processing-core "3.3.7"]
[quil/processing-pdf "3.3.7"]
[quil/processing-dxf "3.3.7"]
[quil/processing-svg "3.3.7"]
[quil/jogl-all-fat "2.3.2"]
[quil/gluegen-rt-fat "2.3.2"]
[quil/processing-js "1.6.6.0"]
[com.lowagie/itext "2.1.7"]
; svg
[org.apache.xmlgraphics/batik-svggen "1.8"]
[org.apache.xmlgraphics/batik-dom "1.8"]]
:aot [quil.helpers.applet-listener quil.applet]
:test-selectors {:default (complement :manual)
:manual :manual
:set-0 #(= 0 (:test-set %))
:set-1 #(= 1 (:test-set %))
:set-2 #(= 2 (:test-set %))
:set-3 #(= 3 (:test-set %))}
:source-paths ["src/clj" "src/cljs" "src/cljc"]
:test-paths ["test/clj" "test/cljc"]
:resource-paths ["resources"]
:cljfmt {:file-pattern #"\.clj[sc]?$"}
:profiles {:dev {:dependencies [[hiccup "1.0.5"]
[compojure "1.6.0"]
[clj-http "3.8.0"]
[javax.servlet/servlet-api "2.5"]
[org.clojure/tools.reader "1.2.2"]]
:plugins [[lein-ring "0.12.4"]
[lein-cljfmt "0.5.7"]]
:source-paths ["dev"]}
:cljs-testing [:dev
{:plugins [[lein-cljsbuild "1.1.7"]]
:source-paths ["test/cljs"]
:ring {:handler test-server/app}
:dependencies [[prismatic/dommy "1.1.0"]
[org.clojure/clojure "1.9.0"]
[org.clojure/clojurescript "1.10.238"]]
:cljsbuild
{:builds [
; Compiles all tests in advanced mode. Used for release testing.
{:id "tests"
:source-paths ["test/cljs" "test/cljc" "src/cljc" "src/cljs"]
:compiler
{:output-to "target/js/main.js"
:optimizations :advanced
:pretty-print true}}
; Compiles sample sketch. Used for development to
; see changes immediately when changing quil cljs code.
{:id "development"
:source-paths ["dev" "src/cljs" "src/cljc"]
:compiler {:output-to "target/jsdev/main.js"
:output-dir "target/jsdev"
:main "sample"}}
; Compiles script that outputs all code snippets to
; console. Used to get cljs version of code snippets.
{:id "snippets-generation"
:source-paths ["dev-resources" "src/cljs"]
:compiler {:output-to "target/snippets_generation/main.js"
:output-dir "target/snippets_generation"
:main "utils.snippets_generator"}}]}}]})