This repository was archived by the owner on May 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.clj
More file actions
132 lines (120 loc) · 5.39 KB
/
project.clj
File metadata and controls
132 lines (120 loc) · 5.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
(defproject ideas-readnotes "0.1.0-SNAPSHOT"
:description "get more ideas from your environment"
:url "http://ideas.rednot.es"
:dependencies [[org.clojure/clojure "1.8.0"]
[selmer "1.0.4"]
[markdown-clj "0.9.87"]
[ring-middleware-format "0.7.0"]
[metosin/ring-http-response "0.6.5"]
[bouncer "1.0.0"]
[org.webjars/bootstrap "4.0.0-alpha.2"]
[org.webjars/font-awesome "4.5.0"]
[org.webjars.bower/tether "1.1.1"]
[org.clojure/tools.logging "0.3.1"]
[compojure "1.5.0"]
[ring-webjars "0.1.1"]
[ring/ring-defaults "0.2.0"]
[mount "0.1.10"]
[cprop "0.1.7"]
[org.clojure/tools.cli "0.3.3"]
[luminus-nrepl "0.1.4"]
[org.webjars/webjars-locator-jboss-vfs "0.1.0"]
[luminus-immutant "0.1.9"]
[org.clojure/clojurescript "1.8.40" :scope "provided"]
[reagent "0.5.1"]
[reagent-forms "0.5.22"]
[reagent-utils "0.1.7"]
[secretary "1.2.3"]
[cljs-ajax "0.5.4"]
[luminus-log4j "0.1.3"]
[metosin/compojure-api "1.1.0"]
[ring/ring-json "0.4.0"]
[ring-json-response "0.2.0"]
[metosin/ring-swagger "0.22.7"]
[metosin/ring-swagger-ui "2.1.8-M1"]
[luminus-migrations "0.1.2"]
[conman "0.5.1"]
[migratus "0.8.15"]
[org.postgresql/postgresql "9.4-1206-jdbc4"]
[luminus-nrepl "0.1.4"]]
:min-lein-version "2.0.0"
:jvm-opts ["-server" "-Dconf=.lein-env"]
:source-paths ["src/clj" "src/cljc"]
:resource-paths ["resources" "target/cljsbuild"]
:main ideas-readnotes.core
:migratus {:store :database :db ~(get (System/getenv) "DATABASE_URL")}
:plugins [[lein-cprop "1.0.1"]
[migratus-lein "0.2.8"]
[lein-cljsbuild "1.1.1"]]
:clean-targets ^{:protect false}
[:target-path [:cljsbuild :builds :app :compiler :output-dir] [:cljsbuild :builds :app :compiler :output-to]]
:cljsbuild
{:builds
{:app
{:source-paths ["src/cljc" "src/cljs"]
:compiler
{:output-to "target/cljsbuild/public/js/app.js"
:output-dir "target/cljsbuild/public/js/out"
:externs ["react/externs/react.js"]
:pretty-print true}}}}
:target-path "target/%s/"
:profiles
{:uberjar {:omit-source true
:prep-tasks ["compile" ["cljsbuild" "once"]]
:cljsbuild
{:builds
{:app
{:source-paths ["env/prod/cljs"]
:compiler
{:optimizations :advanced
:pretty-print false
:closure-warnings
{:externs-validation :off :non-standard-jsdoc :off}}}}}
:aot :all
:uberjar-name "ideas-readnotes.jar"
:source-paths ["env/prod/clj"]
:resource-paths ["env/prod/resources"]}
:dev [:project/dev :profiles/dev]
:test [:project/test :profiles/test]
:project/dev {:dependencies [[prone "1.1.1"]
[ring/ring-mock "0.3.0"]
[ring/ring-devel "1.4.0"]
[pjstadig/humane-test-output "0.8.0"]
[lein-figwheel "0.5.2"]
[lein-doo "0.1.6"]
[com.cemerick/piggieback "0.2.2-SNAPSHOT"]]
:plugins [[com.jakemccrary/lein-test-refresh "0.14.0"]
[lein-figwheel "0.5.2"]
[lein-doo "0.1.6"]
[org.clojure/clojurescript "1.8.40"]]
:cljsbuild
{:builds
{:app
{:source-paths ["env/dev/cljs"]
:compiler
{:main "ideas-readnotes.app"
:asset-path "/js/out"
:optimizations :none
:source-map true}}
:test
{:source-paths ["src/cljc" "src/cljs" "test/cljs"]
:compiler
{:output-to "target/test.js"
:main "ideas-readnotes.doo-runner"
:optimizations :whitespace
:pretty-print true}}}}
:figwheel
{:http-server-root "public"
:nrepl-port 7002
:css-dirs ["resources/public/css"]}
:doo {:build "test"}
:source-paths ["env/dev/clj" "test/clj"]
:resource-paths ["env/dev/resources"]
:repl-options {:init-ns user
:nrepl-middleware
[cemerick.piggieback/wrap-cljs-repl]}
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]}
:project/test {:resource-paths ["env/dev/resources" "env/test/resources"]}
:profiles/dev {:env {:database-url "jdbc:postgresql://localhost/ideas"}}
:profiles/test {:env {:database-url "jdbc:postgresql://localhost/ideas"}}})