Version 0.2.0-SNAPSHOT
This commit is contained in:
parent
2bf43396f0
commit
3b11b678a1
13
project.clj
13
project.clj
|
@ -59,6 +59,7 @@
|
||||||
[lein-cprop "1.0.1"]
|
[lein-cprop "1.0.1"]
|
||||||
[lein-less "1.7.5"]
|
[lein-less "1.7.5"]
|
||||||
[lein-npm "0.6.2"]
|
[lein-npm "0.6.2"]
|
||||||
|
[lein-release "1.0.5"]
|
||||||
[lein-uberwar "0.2.0"]
|
[lein-uberwar "0.2.0"]
|
||||||
[migratus-lein "0.4.2"]
|
[migratus-lein "0.4.2"]
|
||||||
[org.clojars.punkisdead/lein-cucumber "1.0.5"]]
|
[org.clojars.punkisdead/lein-cucumber "1.0.5"]]
|
||||||
|
@ -79,6 +80,18 @@
|
||||||
[simplemde "1.11.2"]]
|
[simplemde "1.11.2"]]
|
||||||
:root "resources/public/js/lib"}
|
:root "resources/public/js/lib"}
|
||||||
|
|
||||||
|
:release-tasks [["vcs" "assert-committed"]
|
||||||
|
["change" "version" "leiningen.release/bump-version" "release"]
|
||||||
|
["vcs" "commit"]
|
||||||
|
;; ["vcs" "tag"] -- not working, problems with secret key
|
||||||
|
["clean"]
|
||||||
|
["npm" "install"]
|
||||||
|
["ring" "uberjar"]
|
||||||
|
["docker" "build"]
|
||||||
|
["docker" "push"]
|
||||||
|
["change" "version" "leiningen.release/bump-version"]
|
||||||
|
["vcs" "commit"]]
|
||||||
|
|
||||||
:uberwar
|
:uberwar
|
||||||
{:handler youyesyet.handler/app
|
{:handler youyesyet.handler/app
|
||||||
:init youyesyet.handler/init
|
:init youyesyet.handler/init
|
||||||
|
|
|
@ -20,7 +20,9 @@
|
||||||
;; (for example when using mock requests), then
|
;; (for example when using mock requests), then
|
||||||
;; .getContextPath might not exist
|
;; .getContextPath might not exist
|
||||||
(try (.getContextPath ^ServletContext context)
|
(try (.getContextPath ^ServletContext context)
|
||||||
(catch IllegalArgumentException _ context))
|
(catch IllegalArgumentException err
|
||||||
|
(log/warn "Failed to initialise servlet-context: " (.getMessage err))
|
||||||
|
context))
|
||||||
;; if the context is not specified in the request
|
;; if the context is not specified in the request
|
||||||
;; we check if one has been specified in the environment
|
;; we check if one has been specified in the environment
|
||||||
;; instead
|
;; instead
|
||||||
|
|
Loading…
Reference in a new issue