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

* add an alias to leiningen so that `lein test` runs expectations with the appropriate profiles

* add some jvm args to our expectations profile so that it runs in a more isolated environment
parent 729c9b68
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@
:description "Metabase Community Edition"
:url "http://metabase.com/"
:min-lein-version "2.3.0"
:aliases {"test" ["with-profile" "+expectations" "expectations"]}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/core.async "LATEST"] ; facilities for async programming + communication (using 'LATEST' because this is an alpha library)
[org.clojure/core.match "0.3.0-alpha4"] ; optimized pattern matching library for Clojure
......@@ -69,5 +70,8 @@
"-XX:MaxPermSize=128m" ; a little more headroom for PermGen
"-XX:+CMSClassUnloadingEnabled" ; let Clojure's dynamically generated temporary classes be GC'ed from PermGen
"-XX:+UseConcMarkSweepGC"]} ; Concurrent Mark Sweep GC needs to be used for Class Unloading (above)
:expectations {:jvm-opts ["-Dmb.db.file=target/metabase-test"
"-Dmb.jetty.join=false"
"-Dmb.jetty.port=3001"]}
:uberjar {:aot :all
:prep-tasks ["npm" "gulp" "javac" "compile"]}})
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