Skip to content

Commit

Permalink
updated to handle uberjar and uberwar packaging better
Browse files Browse the repository at this point in the history
  • Loading branch information
yogthos committed Oct 20, 2013
1 parent 53b49d3 commit bac3583
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion project.clj
@@ -1,4 +1,4 @@
(defproject luminus/lein-template "1.0.6" (defproject luminus/lein-template "1.0.7"
:description "a template for creating Luminus applications" :description "a template for creating Luminus applications"
:url "https://github.com/yogthos/luminus-template" :url "https://github.com/yogthos/luminus-template"
:license {:name "Eclipse Public License" :license {:name "Eclipse Public License"
Expand Down
2 changes: 0 additions & 2 deletions src/leiningen/new/luminus/handler.clj
Expand Up @@ -47,5 +47,3 @@
;; available formats: ;; available formats:
;; :json :json-kw :yaml :yaml-kw :edn :yaml-in-html ;; :json :json-kw :yaml :yaml-kw :edn :yaml-in-html
:formats [:json-kw :edn])) :formats [:json-kw :edn]))

(def war-handler (middleware/war-handler app))
4 changes: 2 additions & 2 deletions src/leiningen/new/luminus/project.clj
Expand Up @@ -5,13 +5,13 @@
[lib-noir "0.7.1"] [lib-noir "0.7.1"]
[compojure "1.1.5"] [compojure "1.1.5"]
[ring-server "0.3.0"] [ring-server "0.3.0"]
[selmer "0.4.7"] [selmer "0.4.8"]
[com.taoensso/timbre "2.6.3"] [com.taoensso/timbre "2.6.3"]
[com.postspectacular/rotor "0.1.0"] [com.postspectacular/rotor "0.1.0"]
[com.taoensso/tower "1.7.1"] [com.taoensso/tower "1.7.1"]
[markdown-clj "0.9.33"]] [markdown-clj "0.9.33"]]
:plugins [[lein-ring "0.8.7"]] :plugins [[lein-ring "0.8.7"]]
:ring {:handler {{name}}.handler/war-handler :ring {:handler {{name}}.handler/app
:init {{name}}.handler/init :init {{name}}.handler/init
:destroy {{name}}.handler/destroy} :destroy {{name}}.handler/destroy}
:profiles :profiles
Expand Down

0 comments on commit bac3583

Please sign in to comment.