env.clj 408 Bytes
Newer Older
Vlad Dumitru's avatar
Vlad Dumitru committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(ns konditorei.env
  (:require
    [selmer.parser :as parser]
    [clojure.tools.logging :as log]
    [konditorei.dev-middleware :refer [wrap-dev]]))

(def defaults
  {:init
   (fn []
     (parser/cache-off!)
     (log/info "\n-=[konditorei started successfully using the development profile]=-"))
   :stop
   (fn []
     (log/info "\n-=[konditorei has shut down successfully]=-"))
   :middleware wrap-dev})