Add the dependencies

This commit is contained in:
Aaron Mueller 2014-09-27 11:54:27 +02:00
parent f00c56f80d
commit eb0d17f7cf
2 changed files with 35 additions and 3 deletions

18
handler.clj Normal file
View file

@ -0,0 +1,18 @@
(ns luduverse.handler
(:require [compojure.core :refer [defroutes]]
[compojure.route :as route]
[noir.util.middleware :as middleware]))
(defroutes core-routes
(route/resources "/")
(route/not-found "Nothing here ..."))
(defn init [])
(defn destroy [])
(def app (middleware/app-handler
[app-routes]
:middleware []
:access-rules []
:formats [:json-kw :edn]))

View file

@ -1,6 +1,20 @@
(defproject luduverse "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:description "Find Ludum Dare games with a nice search bar"
:url "http://luduverse.clojurecup.com/"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]])
:dependencies [[org.clojure/clojure "1.6.0"]
[ring-server "0.3.1"]
[lib-noir "0.8.9"]
[compojure "1.1.9"]
[enlive "1.1.5"]
[me.raynes/fs "1.4.6"]]
:main luduverse.core
:plugins [[lein-ring "0.8.10"]]
:ring {:handler luduverse.handler/app
:init luduverse.handler/init
:destroy luduverse.handler/destroy
:open-browser? false}
:profiles {:production {:ring {:stacktrace? false}}
:dev {:ring {:auto-reload? true
:auto-refresh? true}}})