Advertisement
Guest User

Untitled

a guest
Jan 1st, 2017
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.63 KB | None | 0 0
  1. (defproject clojure-media-server "0.1.0-SNAPSHOT"
  2. :description "FIXME: write description"
  3. :url "http://example.com/FIXME"
  4. :license {:name "Eclipse Public License"
  5. :url "http://www.eclipse.org/legal/epl-v10.html"}
  6.  
  7. :dependencies [[org.clojure/clojure "1.8.0"]
  8. [ring-server "0.4.0"]
  9. [reagent "0.6.0"]
  10. [reagent-forms "0.5.25"]
  11. [reagent-utils "0.2.0"]
  12. [ring "1.5.0"]
  13. [ring/ring-defaults "0.2.1"]
  14. [ring/ring-json "0.4.0"]
  15. [ring-middleware-format "0.7.0"]
  16. [compojure "1.5.1"]
  17. [hiccup "1.0.5"]
  18. [zsau/id3 "0.1.1"]
  19. [claudio "0.1.3"]
  20. [mount "0.1.10"]
  21. [cprop "0.1.9"]
  22. [ring-transit "0.1.6"]
  23. [yogthos/config "0.8"]
  24. [org.clojure/clojurescript "1.9.229"
  25. :scope "provided"]
  26. [secretary "1.2.3"]
  27. [venantius/accountant "0.1.7"
  28. :exclusions [org.clojure/tools.reader]]
  29. [cljs-ajax "0.5.8"]]
  30.  
  31. :plugins [[lein-environ "1.0.2"]
  32. [lein-cljsbuild "1.1.1"]
  33. [lein-asset-minifier "0.2.7"
  34. :exclusions [org.clojure/clojure]]]
  35.  
  36. :ring {:handler clojure-media-server.handler/app
  37. :uberwar-name "clojure-media-server.war"}
  38.  
  39. :min-lein-version "2.5.0"
  40.  
  41. :uberjar-name "clojure-media-server.jar"
  42.  
  43. :main clojure-media-server.server
  44.  
  45. :clean-targets ^{:protect false}
  46. [:target-path
  47. [:cljsbuild :builds :app :compiler :output-dir]
  48. [:cljsbuild :builds :app :compiler :output-to]]
  49.  
  50. :source-paths ["src/clj" "src/cljc"]
  51. :resource-paths ["resources" "target/cljsbuild"]
  52.  
  53. :minify-assets
  54. {:assets
  55. {"resources/public/css/site.min.css" "resources/public/css/site.css"}}
  56.  
  57. :cljsbuild
  58. {:builds {:min
  59. {:source-paths ["src/cljs" "src/cljc" "env/prod/cljs"]
  60. :compiler
  61. {:output-to "target/cljsbuild/public/js/app.js"
  62. :output-dir "target/uberjar"
  63. :optimizations :advanced
  64. :pretty-print false}}
  65. :app
  66. {:source-paths ["src/cljs" "src/cljc" "env/dev/cljs"]
  67. :figwheel
  68. {:websocket-url "ws://192.168.1.123:3449/figwheel-ws"}
  69. :compiler
  70. {:main "clojure-media-server.dev"
  71. :asset-path "/js/out"
  72. :output-to "target/cljsbuild/public/js/app.js"
  73. :output-dir "target/cljsbuild/public/js/out"
  74. :source-map true
  75. :optimizations :none
  76. :pretty-print true}}
  77.  
  78.  
  79.  
  80. }
  81. }
  82.  
  83.  
  84. :figwheel
  85. {:http-server-root "public"
  86. :server-port 3449
  87. :nrepl-port 7002
  88. :nrepl-middleware ["cemerick.piggieback/wrap-cljs-repl"
  89. "cider.nrepl/cider-middleware"
  90. "refactor-nrepl.middleware/wrap-refactor"
  91. ]
  92. :css-dirs ["resources/public/css"]
  93. :ring-handler clojure-media-server.handler/app}
  94.  
  95.  
  96.  
  97. :profiles {:dev {:repl-options {:init-ns clojure-media-server.repl}
  98.  
  99. :dependencies [[ring/ring-mock "0.3.0"]
  100. [ring/ring-devel "1.5.0"]
  101. [prone "1.1.2"]
  102. [figwheel-sidecar "0.5.7"]
  103. [org.clojure/tools.nrepl "0.2.12"]
  104. [com.cemerick/piggieback "0.2.2-SNAPSHOT"]
  105. [pjstadig/humane-test-output "0.8.1"]
  106. ]
  107.  
  108. :source-paths ["env/dev/clj"]
  109. :plugins [[lein-figwheel "0.5.7"]
  110. [cider/cider-nrepl "0.14.0-SNAPSHOT"]
  111. [org.clojure/tools.namespace "0.3.0-alpha2"
  112. :exclusions [org.clojure/tools.reader]]
  113. [refactor-nrepl "2.0.0-SNAPSHOT"
  114. :exclusions [org.clojure/clojure]]
  115. ]
  116.  
  117. :injections [(require 'pjstadig.humane-test-output)
  118. (pjstadig.humane-test-output/activate!)]
  119.  
  120. :env {:dev true}}
  121.  
  122. :uberjar {:hooks [minify-assets.plugin/hooks]
  123. :source-paths ["env/prod/clj"]
  124. :prep-tasks ["compile" ["cljsbuild" "once" "min"]]
  125. :env {:production true}
  126. :aot :all
  127. :omit-source true}})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement