2016-08-20 21:36:09 +00:00
|
|
|
(defproject commiteth "0.1.0-SNAPSHOT"
|
2017-01-20 22:11:17 +00:00
|
|
|
:description "Ethereum bounty bot for Github"
|
|
|
|
:url "https://commiteth.com"
|
2017-08-17 08:42:08 +00:00
|
|
|
:dependencies [[metosin/compojure-api "1.1.11"
|
2017-03-16 18:49:54 +00:00
|
|
|
:exclusions [joda-time]]
|
2017-10-27 14:45:17 +00:00
|
|
|
[re-frame "0.10.2"]
|
|
|
|
[cljs-ajax "0.7.2"]
|
2016-08-20 21:36:09 +00:00
|
|
|
[secretary "1.2.3"]
|
2017-03-16 18:49:54 +00:00
|
|
|
[reagent-utils "0.2.1"]
|
2017-08-17 08:42:08 +00:00
|
|
|
[reagent "0.7.0"]
|
2017-10-27 14:45:17 +00:00
|
|
|
[org.clojure/clojurescript "1.9.946"]
|
2016-08-20 21:36:09 +00:00
|
|
|
[org.clojure/clojure "1.8.0"]
|
2017-10-27 14:45:17 +00:00
|
|
|
[selmer "1.11.1"]
|
|
|
|
[markdown-clj "1.0.1"]
|
2017-01-30 18:33:25 +00:00
|
|
|
[ring-middleware-format "0.7.2"]
|
2017-08-17 08:42:08 +00:00
|
|
|
[ring/ring-core "1.6.2"]
|
|
|
|
[ring/ring-json "0.4.0"]
|
|
|
|
[ring/ring-defaults "0.3.1"]
|
|
|
|
[ring/ring-codec "1.0.1"]
|
|
|
|
[metosin/ring-http-response "0.9.0"]
|
2017-03-16 18:49:54 +00:00
|
|
|
[bouncer "1.0.1"
|
|
|
|
:exclusions [joda-time]]
|
2017-08-17 08:42:08 +00:00
|
|
|
[org.clojure/tools.logging "0.4.0"]
|
|
|
|
[compojure "1.6.0"]
|
2017-01-20 22:11:17 +00:00
|
|
|
[http-kit "2.2.0"]
|
|
|
|
[mount "0.1.11"]
|
2017-08-17 08:42:08 +00:00
|
|
|
[cprop "0.1.11"]
|
2016-08-20 21:36:09 +00:00
|
|
|
[org.clojure/tools.cli "0.3.5"]
|
|
|
|
[luminus-nrepl "0.1.4"]
|
2017-10-27 14:45:17 +00:00
|
|
|
[buddy/buddy-auth "2.1.0"]
|
|
|
|
[luminus-migrations "0.4.2"]
|
|
|
|
[conman "0.7.0"]
|
2017-08-17 08:42:08 +00:00
|
|
|
[org.postgresql/postgresql "42.1.4"]
|
2017-10-27 14:45:17 +00:00
|
|
|
[luminus-immutant "0.2.4"]
|
2016-09-07 00:20:17 +00:00
|
|
|
[clj.qrgen "0.4.0"]
|
2017-10-27 14:45:17 +00:00
|
|
|
[digest "1.4.6"]
|
2017-01-28 06:24:05 +00:00
|
|
|
[tentacles "0.5.1"]
|
2017-10-27 14:45:17 +00:00
|
|
|
[re-frisk "0.5.0"]
|
2017-02-11 12:36:06 +00:00
|
|
|
[bk/ring-gzip "0.2.1"]
|
2017-02-18 09:07:51 +00:00
|
|
|
[crypto-random "1.2.0"]
|
|
|
|
[crypto-equality "1.0.0"]
|
2017-08-17 08:42:08 +00:00
|
|
|
[cheshire "5.8.0"]
|
2017-02-21 19:41:39 +00:00
|
|
|
[mpg "1.3.0"]
|
2017-02-24 22:15:44 +00:00
|
|
|
[pandect "0.6.1"]
|
2017-08-17 08:42:08 +00:00
|
|
|
[cljsjs/moment "2.17.1-1"]
|
2017-04-13 09:18:39 +00:00
|
|
|
[org.clojure/tools.nrepl "0.2.13"]
|
2017-08-17 08:42:08 +00:00
|
|
|
[com.cemerick/piggieback "0.2.2"]
|
|
|
|
[jarohen/chime "0.2.2"]
|
|
|
|
[com.andrewmcveigh/cljs-time "0.5.1"]
|
|
|
|
[akiroz.re-frame/storage "0.1.2"]
|
2017-08-18 18:28:51 +00:00
|
|
|
[cljsjs/chartjs "2.6.0-0"]
|
2017-10-27 14:45:17 +00:00
|
|
|
[org.web3j/core "2.3.1"]
|
|
|
|
[cljs-web3 "0.19.0-0-7"]]
|
2016-08-20 21:36:09 +00:00
|
|
|
|
|
|
|
:min-lein-version "2.0.0"
|
|
|
|
:source-paths ["src/clj" "src/cljc"]
|
|
|
|
:resource-paths ["resources" "target/cljsbuild"]
|
2017-08-18 18:28:51 +00:00
|
|
|
:java-source-paths ["src/java"]
|
2016-08-20 21:36:09 +00:00
|
|
|
:target-path "target/%s/"
|
2017-08-18 18:28:51 +00:00
|
|
|
:repositories {"MVN repository" "https://mvnrepository.com"}
|
2017-08-20 08:46:57 +00:00
|
|
|
:main ^:skip-aot commiteth.core
|
2017-01-20 22:11:17 +00:00
|
|
|
:migratus {:store :database
|
2017-01-21 16:06:37 +00:00
|
|
|
:migration-dir "migrations"
|
2017-01-20 22:11:17 +00:00
|
|
|
:db ~(get (System/getenv) "DATABASE_URL")}
|
2016-08-20 21:36:09 +00:00
|
|
|
|
|
|
|
:plugins [[lein-cprop "1.0.1"]
|
|
|
|
[migratus-lein "0.4.1"]
|
2017-08-23 20:47:50 +00:00
|
|
|
[lein-cljsbuild "1.1.7"]
|
2017-02-11 12:36:06 +00:00
|
|
|
[lein-auto "0.1.2"]
|
2017-03-01 20:09:48 +00:00
|
|
|
[lein-less "1.7.5"]
|
2017-08-20 10:51:10 +00:00
|
|
|
[lein-shell "0.5.0"]
|
2017-09-21 09:41:32 +00:00
|
|
|
[cider/cider-nrepl "0.15.0-SNAPSHOT"]
|
2017-03-09 13:47:29 +00:00
|
|
|
[lein-sha-version "0.1.1"]]
|
2016-09-19 20:26:57 +00:00
|
|
|
|
2017-01-20 22:11:17 +00:00
|
|
|
|
2017-02-11 12:36:06 +00:00
|
|
|
:less {:source-paths ["src/less"]
|
|
|
|
:target-path "resources/public/css"}
|
2016-09-11 22:48:25 +00:00
|
|
|
|
2017-08-20 10:51:10 +00:00
|
|
|
:auto {"build-contracts" {:file-pattern #"\.(sol)\n"
|
|
|
|
:paths ["./contracts"]}}
|
|
|
|
|
|
|
|
:aliases {"build-contracts" ["shell" "./build_contracts.sh"]}
|
|
|
|
|
2017-02-11 12:36:06 +00:00
|
|
|
:ring {:destroy commiteth.scheduler/stop-scheduler}
|
2016-08-20 21:36:09 +00:00
|
|
|
|
2017-04-13 08:38:11 +00:00
|
|
|
:uberjar-exclusions [#"public/README.md" #"public/cards.html"]
|
2016-08-20 21:36:09 +00:00
|
|
|
:clean-targets ^{:protect false}
|
2017-01-20 22:11:17 +00:00
|
|
|
[:target-path [:cljsbuild :builds :app :compiler :output-dir] [:cljsbuild :builds :app :compiler :output-to]]
|
2016-08-20 21:36:09 +00:00
|
|
|
:figwheel
|
|
|
|
{:http-server-root "public"
|
|
|
|
:nrepl-port 7002
|
|
|
|
:css-dirs ["resources/public/css"]
|
|
|
|
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
|
|
|
|
|
|
|
|
|
|
|
|
:profiles
|
2017-03-01 20:09:48 +00:00
|
|
|
{:uberjar {:omit-source true
|
2017-08-20 10:51:10 +00:00
|
|
|
:prep-tasks ["build-contracts" "javac" "compile" ["cljsbuild" "once" "min"] ["less" "once"]]
|
2016-08-20 21:36:09 +00:00
|
|
|
:cljsbuild
|
2017-01-20 22:11:17 +00:00
|
|
|
{:builds
|
|
|
|
{:min
|
|
|
|
{:source-paths ["src/cljc" "src/cljs" "env/prod/cljs"]
|
2017-08-19 11:36:58 +00:00
|
|
|
:jar true
|
2017-01-20 22:11:17 +00:00
|
|
|
:compiler
|
|
|
|
{:output-to "target/cljsbuild/public/js/app.js"
|
2017-02-23 10:26:29 +00:00
|
|
|
:externs ["externs/web3-externs.js"]
|
2017-01-20 22:11:17 +00:00
|
|
|
:optimizations :advanced
|
|
|
|
:pretty-print false
|
2017-03-09 13:47:29 +00:00
|
|
|
:closure-defines {goog.DEBUG false}
|
2017-01-20 22:11:17 +00:00
|
|
|
:closure-warnings
|
2017-02-23 10:26:29 +00:00
|
|
|
{:externs-validation :off
|
|
|
|
:non-standard-jsdoc :off}}}}}
|
2016-08-20 21:36:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
:aot :all
|
|
|
|
:uberjar-name "commiteth.jar"
|
|
|
|
:source-paths ["env/prod/clj"]
|
|
|
|
:resource-paths ["env/prod/resources"]}
|
2017-02-11 12:36:06 +00:00
|
|
|
:dev {:dependencies [[prone "1.1.4"]
|
2017-08-17 08:42:08 +00:00
|
|
|
[ring/ring-mock "0.3.1"]
|
|
|
|
[ring/ring-devel "1.6.2"]
|
2017-10-27 14:45:17 +00:00
|
|
|
[pjstadig/humane-test-output "0.8.3"]
|
|
|
|
[doo "0.1.8"]
|
|
|
|
[binaryage/devtools "0.9.7"]
|
|
|
|
[figwheel-sidecar "0.5.14"]
|
2017-04-13 09:18:39 +00:00
|
|
|
[org.clojure/tools.nrepl "0.2.13"]
|
2017-08-17 08:42:08 +00:00
|
|
|
[com.cemerick/piggieback "0.2.2"]
|
2017-10-27 14:45:17 +00:00
|
|
|
[sablono "0.8.1"]]
|
2017-02-11 12:36:06 +00:00
|
|
|
:plugins [[com.jakemccrary/lein-test-refresh "0.14.0"]
|
|
|
|
[lein-doo "0.1.7"]
|
2017-10-27 14:45:17 +00:00
|
|
|
[lein-figwheel "0.5.14"]]
|
2017-02-11 12:36:06 +00:00
|
|
|
:cljsbuild
|
|
|
|
{:builds
|
|
|
|
[{:id "app"
|
|
|
|
:source-paths ["src/cljs" "src/cljc" "env/dev/cljs"]
|
|
|
|
:compiler
|
|
|
|
{:main "commiteth.app"
|
|
|
|
:asset-path "/js/out"
|
|
|
|
:output-to "target/cljsbuild/public/js/app.js"
|
|
|
|
:output-dir "target/cljsbuild/public/js/out"
|
|
|
|
:source-map true
|
|
|
|
:optimizations :none
|
|
|
|
:pretty-print true}}]}
|
|
|
|
|
2018-01-09 12:11:35 +00:00
|
|
|
:prep-tasks ["build-contracts" "javac"]
|
2017-02-11 12:36:06 +00:00
|
|
|
:doo {:build "test"}
|
|
|
|
:source-paths ["env/dev/clj" "test/clj"]
|
|
|
|
:resource-paths ["env/dev/resources"]
|
2017-03-03 08:19:28 +00:00
|
|
|
:repl-options {:init-ns user
|
|
|
|
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
|
2017-02-11 12:36:06 +00:00
|
|
|
:injections [(require 'pjstadig.humane-test-output)
|
|
|
|
(pjstadig.humane-test-output/activate!)]}
|
|
|
|
:test {:resource-paths ["env/dev/resources" "env/test/resources"]
|
2017-10-27 14:45:17 +00:00
|
|
|
:dependencies [[devcards "0.2.4"]]
|
2017-02-11 12:36:06 +00:00
|
|
|
:cljsbuild
|
|
|
|
{:builds
|
|
|
|
{:test
|
|
|
|
{:source-paths ["src/cljc" "src/cljs" "test/cljs"]
|
|
|
|
:compiler
|
|
|
|
{:output-to "target/test.js"
|
|
|
|
:main "commiteth.doo-runner"
|
|
|
|
:optimizations :whitespace
|
|
|
|
:pretty-print true}}
|
|
|
|
:devcards {:source-paths ["src/cljs" "src/cljc"]
|
|
|
|
:figwheel {:devcards true}
|
|
|
|
:compiler {:main commiteth.cards
|
|
|
|
:asset-path "js/compiled/out"
|
|
|
|
:output-to "resources/public/js/compiled/devcards.js"
|
|
|
|
:output-dir "resources/public/js/compiled/out"
|
|
|
|
:source-map-timestamp true}}}}}})
|