-
Notifications
You must be signed in to change notification settings - Fork 4
/
project.clj
36 lines (34 loc) · 1.63 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
(defproject torus-pong "0.1.0-SNAPSHOT"
:description "A multiplayer take on the classic Game of Pong. Entry for Clojure Cup 2013."
:url "http://pong.clojurecup.com"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-1909"]
;; because we needed to be on the bleeding edge and
;; latest snapshot was nowhere to be found
[ragge/core.async "0.1.0-SNAPSHOT"]
[ring/ring-jetty-adapter "1.2.0"]
[ring/ring-servlet "1.2.0"]
[compojure "1.1.5" :exclusions [ring/ring-core]]
[com.keminglabs/jetty7-websockets-async "0.1.0"]]
:uberjar-name "torus-pong.jar"
:main torus-pong.main
:hooks [leiningen.cljsbuild]
:source-paths ["src/clj"
"src/cljx"]
:plugins [[lein-cljsbuild "0.3.3"]
[lein-deploy-uberjar "2.0.0"]]
:cljsbuild {:crossovers [torus-pong.game.params]
:builds
[{;; :notify-command ["terminal-notifier" "-title" "lein-cljsbuild" "-message"]
:source-paths ["src/cljs"]
:crossover-path "src/cljx"
:compiler {:libs ["src/js"]
:output-to "resources/public/pong.js"
:pretty-print true
:optimizations :whitespace}}]}
:profiles {:dev
{:source-paths ["dev"]
:dependencies [[org.clojure/tools.namespace "0.2.3"]
[org.clojure/java.classpath "0.2.1"]]}})