Fix uberjar build

* include all needed tasks in uberjar profile's :prep-tasks
This commit is contained in:
Teemu Patja 2017-08-19 14:36:58 +03:00
parent 7c39d6940e
commit 67ca49b816
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
1 changed files with 3 additions and 1 deletions

View File

@ -57,7 +57,7 @@
:java-source-paths ["src/java"]
:target-path "target/%s/"
:repositories {"MVN repository" "https://mvnrepository.com"}
:main ^:skip-aot commiteth.core
:main commiteth.core
:migratus {:store :database
:migration-dir "migrations"
:db ~(get (System/getenv) "DATABASE_URL")}
@ -88,10 +88,12 @@
:profiles
{:uberjar {:omit-source true
:prep-tasks [["javac"] ["compile"] ["cljsbuild" "once" "min"]]
:cljsbuild
{:builds
{:min
{:source-paths ["src/cljc" "src/cljs" "env/prod/cljs"]
:jar true
:compiler
{:output-to "target/cljsbuild/public/js/app.js"
:externs ["externs/web3-externs.js"]