project.clj 2.63 KB
Newer Older
Johannes Knoedtel's avatar
Johannes Knoedtel committed
1
2
3
4
5
(defproject gms "0.1.0-SNAPSHOT"

  :description "FIXME: write description"
  :url "http://example.com/FIXME"

Johannes Knödtel's avatar
Johannes Knödtel committed
6
  :dependencies [[org.clojure/clojure "1.8.0"]
7
8
                 [selmer "1.10.3"]
                 [com.taoensso/timbre "4.8.0"]
Johannes Knoedtel's avatar
Johannes Knoedtel committed
9
                 [com.taoensso/tower "3.0.2"]
10
11
12
                 [markdown-clj "0.9.91"]
                 [environ "1.1.0"]
                 [compojure "1.5.1"]
Johannes Knoedtel's avatar
Johannes Knoedtel committed
13
14
                 [irclj "0.5.0-alpha4"]
                 [ring-webjars "0.1.1"]
Johannes Knödtel's avatar
Johannes Knödtel committed
15
16
17
                 [ring/ring-defaults "0.2.1"]
                 [ring/ring-session-timeout "0.2.0"]
                 [ring "1.5.0"
Johannes Knoedtel's avatar
Johannes Knoedtel committed
18
                  :exclusions [ring/ring-jetty-adapter]]
Johannes Knödtel's avatar
Johannes Knödtel committed
19
20
                 [ring-middleware-format "0.7.0"]
                 [metosin/ring-http-response "0.8.0"]
Johannes Knödtel's avatar
Johannes Knödtel committed
21
                 [bouncer "1.0.0"]
22
                 [prone "1.1.4"]
Johannes Knödtel's avatar
Johannes Knödtel committed
23
                 [migratus "0.8.32"]
Johannes Knödtel's avatar
Johannes Knödtel committed
24
                 [luminus-migrations "0.2.6"]
Johannes Knödtel's avatar
Johannes Knödtel committed
25
                 [luminus-immutant "0.2.2"]
26
                 [yesql "0.5.3"]
27
                 [to-jdbc-uri "0.3.0"]
Johannes Knödtel's avatar
Johannes Knödtel committed
28
                 [com.h2database/h2 "1.4.193"]
Johannes Knoedtel's avatar
Johannes Knoedtel committed
29
                 [org.immutant/web "2.0.2"]
30
                 [org.webjars/jquery "3.1.1-1"]
Johannes Knödtel's avatar
Johannes Knödtel committed
31
32
                 [org.webjars/materializecss "0.97.7"]
                 [org.webjars/material-design-icons "3.0.1"]]
Johannes Knödtel's avatar
Johannes Knödtel committed
33
34

  :repositories {"sonatype-oss-public" "https://oss.sonatype.org/content/groups/public/"}
Johannes Knoedtel's avatar
Johannes Knoedtel committed
35
36
37
38
39
40
41
42

  :min-lein-version "2.0.0"
  :uberjar-name "GMS.jar"
  :jvm-opts ["-server"]

  :main gms.core
  :migratus {:store :database}

Johannes Knödtel's avatar
Johannes Knödtel committed
43
44
45
46
47
  :sass {:src "resources/sass/"
         :dst "resources/public/css/gen/"}

  :hooks [leiningen.sass]

Johannes Knoedtel's avatar
Johannes Knoedtel committed
48
49
  :plugins [[lein-environ "1.0.0"]
            [lein-ancient "0.6.5"]
Johannes Knödtel's avatar
Johannes Knödtel committed
50
51
            [migratus-lein "0.1.5"]
            [lein-sassy "1.0.8"]]
Johannes Knoedtel's avatar
Johannes Knoedtel committed
52
53
54
55
56
57
  :profiles
  {:uberjar {:omit-source true
             :env {:production true}
             :aot :all}
   :dev           [:project/dev :profiles/dev]
   :test          [:project/test :profiles/test]
58
59
60
61
   :project/dev  {:dependencies [[ring/ring-mock "0.3.0"]
                                 [ring/ring-devel "1.5.0"]
                                 [pjstadig/humane-test-output "0.8.1"]
                                 [mvxcvi/puget "1.0.1"]]
Johannes Knoedtel's avatar
Johannes Knoedtel committed
62
63
64
65
66
                  :repl-options {:init-ns gms.core}
                  :injections [(require 'pjstadig.humane-test-output)
                               (pjstadig.humane-test-output/activate!)]
                  ;;when :nrepl-port is set the application starts the nREPL server on load
                  :env {:dev        true
67
                        :port       3001}}
Johannes Knoedtel's avatar
Johannes Knoedtel committed
68
   :project/test {:env {:test       true
69
                        :port       3001}}
Johannes Knoedtel's avatar
Johannes Knoedtel committed
70
71
   :profiles/dev {}
   :profiles/test {}})