Skip to content
Snippets Groups Projects
Commit 6c8cd68a authored by Allen Gilliland's avatar Allen Gilliland
Browse files

move bootstrap + http_client code into dev and only have clj-http dependency...

move bootstrap + http_client code into dev and only have clj-http dependency in :dev profile.  this also fixes up the issue we had with the uberjar not working properly with running migrations via liquibase.
parent 686e879a
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,6 @@
[org.clojure/tools.macro "0.1.5"] ; tools for writing macros
[org.clojure/tools.trace "0.7.8"] ; "tracing macros/fns to help you see what your code is doing"
[cheshire "5.4.0"] ; fast JSON encoding (used by Ring JSON middleware)
[clj-http "1.0.1"] ; HTTP Client
[clj-time "0.9.0"] ; library for dealing with date/time
[com.cemerick/friend "0.2.1"] ; auth library
[com.h2database/h2 "1.4.186"] ; embedded SQL database
......@@ -48,13 +47,15 @@
[lein-ring "0.8.10"]] ; start the HTTP server with 'lein ring server'
:java-source-paths ["src/java"]
:main ^:skip-aot metabase.core
:manifest {"Liquibase-Package" "liquibase.change,liquibase.changelog,liquibase.database,liquibase.parser,liquibase.precondition,liquibase.datatype,liquibase.serializer,liquibase.sqlgenerator,liquibase.executor,liquibase.snapshot,liquibase.logging,liquibase.diff,liquibase.structure,liquibase.structurecompare,liquibase.lockservice,liquibase.sdk,liquibase.ext"}
:target-path "target/%s"
;; :jar-exclusions [#"\.java"] Circle CI doesn't like regexes because it's using the EDN reader and is retarded
:ring {:handler metabase.core/app}
:eastwood {:exclude-namespaces [:test-paths]
:add-linters [:unused-private-vars]
:exclude-linters [:constant-test]} ; korma macros generate some formats with if statements that are always logically true or false
:profiles {:dev {:dependencies [[expectations "2.0.16"] ; unit tests
:profiles {:dev {:dependencies [[clj-http "1.0.1"] ; HTTP Client
[expectations "2.0.16"] ; unit tests
[ring/ring-mock "0.2.0"]]
:jvm-opts ["-Dlogfile.path=target/log"]}
:uberjar {:aot :all
......
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment