|
3 | 3 | :description "FIXME: write description"
|
4 | 4 | :url "http://example.com/FIXME"
|
5 | 5 |
|
6 |
| - :dependencies [[org.clojure/clojure "1.7.0"] |
7 |
| - [selmer "0.9.5"] |
8 |
| - [markdown-clj "0.9.82"] |
9 |
| - [environ "1.0.1"] |
10 |
| - [metosin/ring-middleware-format "0.6.0"] |
| 6 | + :dependencies [[org.clojure/clojure "1.8.0"] |
| 7 | + [selmer "1.0.4"] |
| 8 | + [markdown-clj "0.9.87"] |
| 9 | + [ring-middleware-format "0.7.0"] |
11 | 10 | [metosin/ring-http-response "0.6.5"]
|
12 |
| - [bouncer "0.3.3"] |
13 |
| - [org.clojure/tools.nrepl "0.2.12"] |
14 |
| - [org.webjars/bootstrap "3.3.5"] |
15 |
| - [org.webjars/jquery "2.1.4"] |
16 |
| - [com.taoensso/tower "3.0.2"] |
17 |
| - [com.taoensso/timbre "4.1.4"] |
18 |
| - [com.fzakaria/slf4j-timbre "0.2.1"] |
19 |
| - [compojure "1.4.0"] |
| 11 | + [bouncer "1.0.0"] |
| 12 | + [org.webjars/bootstrap "4.0.0-alpha.2"] |
| 13 | + [org.webjars/font-awesome "4.5.0"] |
| 14 | + [org.webjars.bower/tether "1.1.1"] |
| 15 | + [org.clojure/tools.logging "0.3.1"] |
| 16 | + [compojure "1.5.0"] |
20 | 17 | [ring-webjars "0.1.1"]
|
21 |
| - [ring/ring-defaults "0.1.5"] |
22 |
| - [ring "1.4.0" :exclusions [ring/ring-jetty-adapter]] |
| 18 | + [ring/ring-defaults "0.2.0"] |
23 | 19 | [mount "0.1.10"]
|
24 |
| - [migratus "0.8.7"] |
25 |
| - [org.postgresql/postgresql "9.3-1102-jdbc41"] |
26 |
| - [conman "0.4.5"] |
27 |
| - [com.h2database/h2 "1.4.188"] |
28 |
| - [org.clojure/clojurescript "1.7.170" :scope "provided"] |
| 20 | + [cprop "0.1.7"] |
| 21 | + [org.clojure/tools.cli "0.3.3"] |
| 22 | + [luminus-nrepl "0.1.4"] |
| 23 | + [org.webjars/webjars-locator-jboss-vfs "0.1.0"] |
| 24 | + [luminus-immutant "0.1.9"] |
| 25 | + [luminus-migrations "0.1.0"] |
| 26 | + [conman "0.4.9"] |
| 27 | + [com.h2database/h2 "1.4.191"] |
| 28 | + [org.clojure/clojurescript "1.8.40" :scope "provided"] |
29 | 29 | [reagent "0.5.1"]
|
30 |
| - [reagent-forms "0.5.13"] |
31 |
| - [reagent-utils "0.1.5"] |
| 30 | + [reagent-forms "0.5.22"] |
| 31 | + [reagent-utils "0.1.7"] |
32 | 32 | [secretary "1.2.3"]
|
33 |
| - [org.clojure/core.async "0.2.374"] |
34 |
| - [cljs-ajax "0.5.1"] |
| 33 | + [cljs-ajax "0.5.4"] |
| 34 | + [metosin/compojure-api "1.0.2"] |
| 35 | + [luminus-log4j "0.1.3"] |
35 | 36 | [clojail "1.0.6"]
|
36 |
| - [re-com "0.8.0"] |
37 |
| - [metosin/compojure-api "0.24.0"] |
38 |
| - [metosin/ring-swagger-ui "2.1.3-2"] |
39 |
| - [org.immutant/web "2.1.1" :exclusions [ch.qos.logback/logback-classic]]] |
| 37 | + [re-com "0.8.0"]] |
40 | 38 |
|
41 | 39 | :min-lein-version "2.0.0"
|
42 |
| - :uberjar-name "kata.jar" |
43 |
| - ;; needed for evaluating code |
44 |
| - :jvm-opts ["-server" "-Djava.security.policy=sandbox.policy"] |
| 40 | + |
| 41 | + :jvm-opts ["-server" "-Dconf=.lein-env" "-Djava.security.policy=sandbox.policy"] |
| 42 | + :source-paths ["src/clj" "src/cljc"] |
45 | 43 | :resource-paths ["resources" "target/cljsbuild"]
|
46 | 44 |
|
47 | 45 | :main kata.core
|
48 |
| - :migratus {:store :database} |
| 46 | + :migratus {:store :database :db ~(get (System/getenv) "DATABASE_URL")} |
49 | 47 |
|
50 |
| - :plugins [[lein-environ "1.0.1"] |
51 |
| - [migratus-lein "0.2.0"] |
| 48 | + :plugins [[lein-cprop "1.0.1"] |
| 49 | + [migratus-lein "0.2.6"] |
52 | 50 | [lein-cljsbuild "1.1.1"]]
|
53 |
| - :clean-targets ^{:protect false} [:target-path [:cljsbuild :builds :app :compiler :output-dir] [:cljsbuild :builds :app :compiler :output-to]] |
| 51 | + :clean-targets ^{:protect false} |
| 52 | + [:target-path |
| 53 | + [:cljsbuild :builds :app :compiler :output-dir] |
| 54 | + [:cljsbuild :builds :app :compiler :output-to]] |
54 | 55 | :cljsbuild
|
55 | 56 | {:builds
|
56 | 57 | {:app
|
57 |
| - {:source-paths ["src-cljs"] |
| 58 | + {:source-paths ["src/cljc" "src/cljs"] |
58 | 59 | :compiler
|
59 |
| - {:output-to "target/cljsbuild/public/js/app.js" |
60 |
| - :output-dir "target/cljsbuild/public/js/out" |
61 |
| - :externs ["resources/externs.js" |
62 |
| - "react/externs/react.js"] |
63 |
| - :pretty-print true}}}} |
| 60 | + {:output-to "target/cljsbuild/public/js/app.js" |
| 61 | + :output-dir "target/cljsbuild/public/js/out" |
| 62 | + :externs ["resources/externs.js" |
| 63 | + "react/externs/react.js"] |
| 64 | + :pretty-print true}}}} |
64 | 65 |
|
| 66 | + :target-path "target/%s/" |
65 | 67 | :profiles
|
66 | 68 | {:uberjar {:omit-source true
|
67 |
| - :env {:production true} |
68 |
| - :prep-tasks ["compile" ["cljsbuild" "once"]] |
69 |
| - :cljsbuild |
70 |
| - {:builds |
71 |
| - {:app |
72 |
| - {:source-paths ["env/prod/cljs"] |
73 |
| - :compiler |
74 |
| - {:optimizations :simple |
75 |
| - :pretty-print false |
76 |
| - :closure-warnings |
77 |
| - {:externs-validation :off :non-standard-jsdoc :off}}}}} |
| 69 | + |
| 70 | + :prep-tasks ["compile" ["cljsbuild" "once"]] |
| 71 | + :cljsbuild |
| 72 | + {:builds |
| 73 | + {:app |
| 74 | + {:source-paths ["env/prod/cljs"] |
| 75 | + :compiler |
| 76 | + {:optimizations :advanced |
| 77 | + :pretty-print false |
| 78 | + :closure-warnings |
| 79 | + {:externs-validation :off :non-standard-jsdoc :off}}}}} |
78 | 80 |
|
79 | 81 | :aot :all
|
80 |
| - :source-paths ["env/prod/clj"]} |
| 82 | + :uberjar-name "kata.jar" |
| 83 | + :source-paths ["env/prod/clj"] |
| 84 | + :resource-paths ["env/prod/resources"]} |
81 | 85 | :dev [:project/dev :profiles/dev]
|
82 | 86 | :test [:project/test :profiles/test]
|
83 |
| - :project/dev {:dependencies [[prone "0.8.2"] |
| 87 | + :project/dev {:dependencies [[prone "1.1.1"] |
84 | 88 | [ring/ring-mock "0.3.0"]
|
85 | 89 | [ring/ring-devel "1.4.0"]
|
86 |
| - [pjstadig/humane-test-output "0.7.0"] |
87 |
| - [com.cemerick/piggieback "0.2.2-SNAPSHOT"] |
88 |
| - [lein-figwheel "0.5.0-2"] |
89 |
| - [mvxcvi/puget "1.0.0"]] |
90 |
| - :plugins [[lein-figwheel "0.5.0-2"]] |
91 |
| - :cljsbuild |
92 |
| - {:builds |
93 |
| - {:app |
94 |
| - {:source-paths ["env/dev/cljs"] |
95 |
| - :compiler |
96 |
| - {:main "kata.app" :asset-path "/js/out" :source-map true}}}} |
| 90 | + [pjstadig/humane-test-output "0.8.0"] |
| 91 | + [lein-figwheel "0.5.2"] |
| 92 | + [lein-doo "0.1.6"] |
| 93 | + [com.cemerick/piggieback "0.2.2-SNAPSHOT"]] |
| 94 | + :plugins [[com.jakemccrary/lein-test-refresh "0.14.0"] |
| 95 | + [lein-figwheel "0.5.2"] |
| 96 | + [lein-doo "0.1.6"] |
| 97 | + [org.clojure/clojurescript "1.8.40"]] |
97 | 98 |
|
98 |
| - :figwheel |
99 |
| - {:http-server-root "public" |
100 |
| - :nrepl-port 7002 |
101 |
| - :nrepl-middleware ["cemerick.piggieback/wrap-cljs-repl"] |
102 |
| - :css-dirs ["resources/public/css"]} |
| 99 | + :cljsbuild |
| 100 | + {:builds |
| 101 | + {:app |
| 102 | + {:source-paths ["env/dev/cljs"] |
| 103 | + :compiler |
| 104 | + {:main "kata.app" |
| 105 | + :asset-path "/js/out" |
| 106 | + :optimizations :none |
| 107 | + :source-map true}} |
| 108 | + :test |
| 109 | + {:source-paths ["src/cljc" "src/cljs" "test/cljs"] |
| 110 | + :compiler |
| 111 | + {:output-to "target/test.js" |
| 112 | + :main "kata.doo-runner" |
| 113 | + :optimizations :whitespace |
| 114 | + :pretty-print true}}}} |
103 | 115 |
|
104 |
| - :source-paths ["env/dev/clj"] |
105 |
| - :repl-options {:init-ns kata.core} |
| 116 | + :figwheel |
| 117 | + {:http-server-root "public" |
| 118 | + :nrepl-port 7002 |
| 119 | + :css-dirs ["resources/public/css"]} |
| 120 | + :doo {:build "test"} |
| 121 | + :source-paths ["env/dev/clj" "test/clj"] |
| 122 | + :resource-paths ["env/dev/resources"] |
| 123 | + :repl-options {:init-ns user |
| 124 | + :nrepl-middleware |
| 125 | + [cemerick.piggieback/wrap-cljs-repl]} |
106 | 126 | :injections [(require 'pjstadig.humane-test-output)
|
107 |
| - (pjstadig.humane-test-output/activate!)] |
108 |
| - ;;when :nrepl-port is set the application starts the nREPL server on load |
109 |
| - :env {:dev true |
110 |
| - :port 3000 |
111 |
| - :nrepl-port 7000 |
112 |
| - :log-level :trace}} |
113 |
| - :project/test {:env {:test true |
114 |
| - :port 3001 |
115 |
| - :nrepl-port 7001 |
116 |
| - :log-level :trace}} |
| 127 | + (pjstadig.humane-test-output/activate!)]} |
| 128 | + :project/test {:resource-paths ["env/dev/resources" "env/test/resources"]} |
117 | 129 | :profiles/dev {}
|
118 | 130 | :profiles/test {}})
|
0 commit comments