Simple web-based program to aid in creating RPG characters
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
4.3KB

  1. (defproject character-suite "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. :source-paths ["src/clj"]
  7. :test-paths ["test/clj"]
  8. :dependencies [[org.clojure/clojure "1.6.0"]
  9. [org.clojure/clojurescript "0.0-2760" :scope "provided"]
  10. [org.clojure/core.async "0.1.346.0-17112a-alpha"]
  11. [sablono "0.3.4"]
  12. [org.omcljs/om "0.9.0"]
  13. [ring "1.3.2"]
  14. [ring/ring-defaults "0.1.4"]
  15. [devcards "0.1.2-SNAPSHOT"]
  16. [cljs-ajax "0.3.13"]
  17. [compojure "1.3.4"]
  18. [prone "0.8.2"]
  19. [environ "1.0.0"]
  20. [org.apache.pdfbox/pdfbox "1.8.10"]
  21. [org.clojure/java.jdbc "0.3.5"]
  22. [org.xerial/sqlite-jdbc "3.7.2"]
  23. [com.lambdaworks/scrypt "1.4.0"]
  24. [enlive "1.1.6"]]
  25. :plugins [[lein-cljsbuild "1.0.5"]
  26. [lein-environ "1.0.0"]
  27. [com.keminglabs/cljx "0.6.0"]]
  28. :min-lein-version "2.5.0"
  29. :uberjar-name "character-suite.jar"
  30. :cljsbuild {:builds {:app {:source-paths ["src/cljs"]
  31. :compiler {:output-to "resources/public/js/app.js"
  32. :output-dir "resources/public/js/out"
  33. :source-map "resources/public/js/out.js.map"
  34. :preamble ["react/react.min.js"]
  35. :optimizations :none
  36. :pretty-print true}}}}
  37. :cljx {:builds [{:source-paths ["src/cljx"]
  38. :output-path "src/clj"
  39. :rules :clj}
  40. {:source-paths ["src/cljx"]
  41. :output-path "src/cljs"
  42. :rules :cljs}]}
  43. :profiles {:dev {:source-paths ["env/dev/clj"]
  44. :test-paths ["test/clj"]
  45. :dependencies [[figwheel "0.2.5"]
  46. [figwheel-sidecar "0.2.5"]
  47. [com.cemerick/piggieback "0.1.5"]
  48. [weasel "0.6.0"]]
  49. :repl-options {:init-ns character-suite.server
  50. :nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
  51. :plugins [[lein-figwheel "0.2.5"]]
  52. :figwheel {:http-server-root "public"
  53. :server-port 3449
  54. :css-dirs ["resources/public/css"]
  55. :ring-handler character-suite.server/http-handler}
  56. :env {:is-dev true
  57. :database-url "sqlite:character-suite-dev.db"}
  58. :cljsbuild {:test-commands { "test" ["phantomjs" "env/test/js/unit-test.js" "env/test/unit-test.html"] }
  59. :builds {:app {:source-paths ["env/dev/cljs"]}
  60. :test {:source-paths ["src/cljs" "test/cljs"]
  61. :compiler {:output-to "resources/public/js/app_test.js"
  62. :output-dir "resources/public/js/test"
  63. :source-map "resources/public/js/test.js.map"
  64. :preamble ["react/react.min.js"]
  65. :optimizations :whitespace
  66. :pretty-print false}}}}}
  67. :uberjar {:source-paths ["env/prod/clj"]
  68. :hooks [leiningen.cljsbuild]
  69. :env {:production true
  70. :database-url "sqlite:character-suite-prod.db"}
  71. :omit-source true
  72. :aot :all
  73. :main character-suite.server
  74. :cljsbuild {:builds {:app
  75. {:source-paths ["env/prod/cljs"]
  76. :compiler
  77. {:optimizations :advanced
  78. :pretty-print false}}}}}})