project.clj 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. (defproject hello "0.1.0-SNAPSHOT"
  2. :description "TechEmpower Luminus benchmark"
  3. :url "https://github.com/TechEmpower/FrameworkBenchmarks"
  4. :dependencies [[org.clojure/clojure "1.10.0"]
  5. [cheshire "5.7.0"]
  6. [selmer "1.10.7"]
  7. [markdown-clj "0.9.98"]
  8. [metosin/muuntaja "0.2.1"]
  9. [metosin/ring-http-response "0.8.2"]
  10. [bouncer "1.0.1"]
  11. [org.webjars/bootstrap "4.2.1"]
  12. [org.webjars/font-awesome "5.6.1"]
  13. [org.webjars.bower/tether "1.4.4"]
  14. [org.webjars/jquery "3.3.1"]
  15. [org.clojure/tools.logging "0.4.1"]
  16. [com.taoensso/tower "3.0.2"]
  17. [compojure "1.5.2"]
  18. [ring-webjars "0.1.1"]
  19. [ring/ring-defaults "0.2.3"]
  20. [mount "0.1.11"]
  21. [cprop "0.1.10"]
  22. [org.clojure/tools.cli "0.3.5"]
  23. [luminus-nrepl "0.1.4"]
  24. [org.webjars/webjars-locator-jboss-vfs "0.1.0"]
  25. [luminus-immutant "0.2.3"]
  26. [luminus-migrations "0.3.0"]
  27. [conman "0.6.3"]
  28. [org.postgresql/postgresql "42.2.5"]
  29. [luminus-log4j "0.1.5"]]
  30. :min-lein-version "2.0.0"
  31. :jvm-opts ["-server" "-Dconf=.lein-env"]
  32. :source-paths ["src/clj"]
  33. :resource-paths ["resources"]
  34. :main hello.core
  35. :migratus {:store :database :db ~(get (System/getenv) "DATABASE_URL")}
  36. :plugins [[lein-cprop "1.0.1"]
  37. [migratus-lein "0.2.6"]]
  38. :profiles
  39. {:uberjar {:omit-source true
  40. :jvm-opts ["-D\"clojure.compiler.direct-linking=true\""]
  41. :aot :all
  42. :uberjar-name "hello.jar"
  43. :source-paths ["env/prod/clj"]
  44. :resource-paths ["env/prod/resources"]}
  45. :dev [:project/dev :profiles/dev]
  46. :test [:project/test :profiles/test]
  47. :project/dev {:dependencies [[prone "1.1.4"]
  48. [ring/ring-mock "0.3.0"]
  49. [ring/ring-devel "1.5.1"]
  50. [pjstadig/humane-test-output "0.8.1"]
  51. [mvxcvi/puget "1.0.1"]]
  52. :source-paths ["env/dev/clj" "test/clj"]
  53. :resource-paths ["env/dev/resources"]
  54. :repl-options {:init-ns user}
  55. :injections [(require 'pjstadig.humane-test-output)
  56. (pjstadig.humane-test-output/activate!)]}
  57. :project/test {:resource-paths ["env/dev/resources" "env/test/resources"]}
  58. :profiles/dev {}
  59. :profiles/test {}})