2021-07-31 00:05:13 +02:00
|
|
|
;;; We need to allow http connections because some dependencies are fetched
|
|
|
|
;;; over http instead of https. See here for more detail:
|
|
|
|
;;; https://github.com/technomancy/leiningen/blob/master/doc/FAQ.md
|
|
|
|
(require 'cemerick.pomegranate.aether)
|
|
|
|
(cemerick.pomegranate.aether/register-wagon-factory!
|
|
|
|
"http" #(org.apache.maven.wagon.providers.http.HttpWagon.))
|
|
|
|
|
2017-04-18 23:14:16 +02:00
|
|
|
(defproject yenu "1.0.1"
|
2017-02-26 23:43:17 +01:00
|
|
|
:description "yenu -- The image sharing tool for friends"
|
2017-04-18 22:21:18 +02:00
|
|
|
:url "https://yenu.de/"
|
2017-02-16 22:31:16 +01:00
|
|
|
|
2017-03-28 12:42:06 +02:00
|
|
|
:dependencies [[bouncer "1.0.1"]
|
2021-07-31 00:05:13 +02:00
|
|
|
[compojure "1.6.2"]
|
|
|
|
[conman "0.9.1"]
|
|
|
|
[cprop "0.1.18"]
|
|
|
|
[luminus-immutant "0.2.5"]
|
|
|
|
[luminus-migrations "0.7.1"]
|
|
|
|
[luminus-nrepl "0.1.7"]
|
|
|
|
[metosin/ring-http-response "0.9.2"]
|
|
|
|
[mount "0.1.16"]
|
|
|
|
[clojure.java-time "0.3.2"]
|
|
|
|
[org.clojure/clojure "1.10.3"]
|
|
|
|
[org.clojure/tools.cli "1.0.206"]
|
|
|
|
[org.clojure/tools.logging "1.1.0"]
|
|
|
|
[org.webjars/jquery "3.6.0"]
|
|
|
|
[org.webjars/bootstrap "5.0.1"]
|
2017-02-16 22:31:16 +01:00
|
|
|
[org.webjars/webjars-locator-jboss-vfs "0.1.0"]
|
2021-07-31 00:05:13 +02:00
|
|
|
[org.webjars.bower/tether "1.4.7"]
|
2018-04-21 22:55:10 +02:00
|
|
|
[org.webjars.bower/font-awesome "4.7.0"]
|
2021-07-31 00:05:13 +02:00
|
|
|
[org.xerial/sqlite-jdbc "3.36.0"]
|
2018-03-20 21:33:32 +01:00
|
|
|
[ring-webjars "0.2.0"]
|
2021-07-31 00:05:13 +02:00
|
|
|
[ring-middleware-format "0.7.4"]
|
|
|
|
[ring/ring-core "1.9.3"]
|
|
|
|
[ring/ring-defaults "0.3.3"]
|
|
|
|
[selmer "1.12.44"]
|
2017-04-15 22:45:43 +02:00
|
|
|
[hiccup "1.0.5"]
|
2018-03-20 21:33:32 +01:00
|
|
|
[image-resizer "0.1.10"]
|
|
|
|
[me.raynes/fs "1.4.6"] ;; R.I.P. Anthony!
|
2021-07-31 00:05:13 +02:00
|
|
|
[digest "1.4.10"]
|
|
|
|
[markdown-clj "1.10.5"]
|
2017-03-21 23:35:13 +01:00
|
|
|
[clj-exif-orientation "0.2.1"]
|
2021-07-31 00:05:13 +02:00
|
|
|
[buddy/buddy-auth "3.0.1"]]
|
2017-02-16 22:31:16 +01:00
|
|
|
|
|
|
|
:min-lein-version "2.0.0"
|
|
|
|
|
|
|
|
:jvm-opts ["-server" "-Dconf=.lein-env"]
|
|
|
|
:source-paths ["src/clj" "src/cljc"]
|
|
|
|
:resource-paths ["resources" "target/cljsbuild"]
|
|
|
|
:target-path "target/%s/"
|
|
|
|
:main yenu.core
|
|
|
|
:migratus {:store :database :db ~(get (System/getenv) "DATABASE_URL")}
|
|
|
|
|
2021-07-31 00:05:13 +02:00
|
|
|
:plugins [[lein-cprop "1.0.3"]
|
|
|
|
[migratus-lein "0.7.3"]
|
2017-02-16 22:31:16 +01:00
|
|
|
[lein-immutant "2.1.0"]
|
2021-07-31 00:05:13 +02:00
|
|
|
[lein-sassc "0.10.5"]
|
|
|
|
[lein-auto "0.1.3"]]
|
2017-02-26 23:43:17 +01:00
|
|
|
:sassc
|
|
|
|
[{:src "resources/scss/screen.scss"
|
|
|
|
:output-to "resources/public/css/screen.css"
|
|
|
|
:style "nested"
|
|
|
|
:import-path "resources/scss"}]
|
2017-02-16 22:31:16 +01:00
|
|
|
|
2017-02-26 23:43:17 +01:00
|
|
|
:auto
|
|
|
|
{"sassc" {:file-pattern #"\.(scss|sass)$" :paths ["resources/scss"]}}
|
2017-02-16 22:31:16 +01:00
|
|
|
|
|
|
|
:hooks [leiningen.sassc]
|
|
|
|
:clean-targets ^{:protect false}
|
2017-03-28 12:42:06 +02:00
|
|
|
[:target-path [:builds :app :compiler :output-dir] [:builds :app :compiler :output-to]]
|
2017-02-16 22:31:16 +01:00
|
|
|
|
|
|
|
:profiles
|
|
|
|
{:uberjar {:omit-source true
|
|
|
|
:aot :all
|
|
|
|
:uberjar-name "yenu.jar"
|
|
|
|
:source-paths ["env/prod/clj"]
|
|
|
|
:resource-paths ["env/prod/resources"]}
|
|
|
|
|
|
|
|
:dev [:project/dev :profiles/dev]
|
|
|
|
|
|
|
|
:project/dev {:dependencies [[prone "1.1.4"]
|
|
|
|
[ring/ring-mock "0.3.0"]
|
|
|
|
[ring/ring-devel "1.5.1"]
|
|
|
|
[pjstadig/humane-test-output "0.8.1"]
|
2017-03-28 12:42:06 +02:00
|
|
|
[binaryage/devtools "0.9.0"]]
|
|
|
|
:source-paths ["env/dev/clj"]
|
2017-02-16 22:31:16 +01:00
|
|
|
:resource-paths ["env/dev/resources"]
|
2017-03-28 12:42:06 +02:00
|
|
|
:repl-options {:init-ns user}}
|
|
|
|
:profiles/dev {}})
|