-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
39 lines (39 loc) · 1.59 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
(defproject torrent-client "0.1.0-SNAPSHOT"
:description "A webrtc bittorrent client written in clojurescript"
:url "http://github.com/hcliff/ampere"
:dependencies [[org.clojure/clojure "1.4.0"]
[noir "1.3.0-beta2"]
[environ "0.3.0"]
[jayq "2.0.0"]
[crate "0.2.4"]]
:git-dependencies [["https://github.com/hcliff/waltz.git"]]
:hooks [environ.leiningen.hooks]
:plugins [[environ/environ.lein "0.3.0"]
[lein-exec "0.2.1"]
[lein-cljsbuild "0.3.0"]
[lein-git-deps "0.0.1-SNAPSHOT"]]
:source-paths ["src-clj"]
:main torrent-client.server
:cljsbuild {
:builds {
:main {
; The path to the top-level ClojureScript source directory:
:source-paths ["src-cljs",
".lein-git-deps/waltz/src/"
; https://github.com/mmcgrana/clj-stacktrace/issues/19
; ".lein-git-deps/clj-stacktrace/src/"
]
; The standard ClojureScript compiler options:
; (See the ClojureScript compiler documentation for details.)
:compiler {
:output-to "resources/public/cljs/bootstrap.js"
:optimizations :whitespace
:pretty-print true}}}
:repl-listen-port 9000
:repl-launch-commands{
"firefox" ["firefox"
:stdout ".repl-firefox-out"
:stderr ".repl-firefox-err"]
"chrome" ["/opt/google/chrome/chrome" "http://localhost:8091/"
:stdout ".repl-chrome-out"
:stderr ".repl-chrome-err"]}})