Add less build to :prep-tasks, update build instructions

This commit is contained in:
Teemu Patja 2017-08-20 11:46:57 +03:00
parent 1744810c8a
commit abb36770c6
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
2 changed files with 2 additions and 3 deletions

View File

@ -43,7 +43,6 @@ lein less auto
To create a standalone uberjar: To create a standalone uberjar:
``` ```
lein with-profile uberjar cljsbuild once min
lein uberjar lein uberjar
``` ```

View File

@ -57,7 +57,7 @@
:java-source-paths ["src/java"] :java-source-paths ["src/java"]
:target-path "target/%s/" :target-path "target/%s/"
:repositories {"MVN repository" "https://mvnrepository.com"} :repositories {"MVN repository" "https://mvnrepository.com"}
:main commiteth.core :main ^:skip-aot commiteth.core
:migratus {:store :database :migratus {:store :database
:migration-dir "migrations" :migration-dir "migrations"
:db ~(get (System/getenv) "DATABASE_URL")} :db ~(get (System/getenv) "DATABASE_URL")}
@ -88,7 +88,7 @@
:profiles :profiles
{:uberjar {:omit-source true {:uberjar {:omit-source true
:prep-tasks [["javac"] ["compile"] ["cljsbuild" "once" "min"]] :prep-tasks [["javac"] ["compile"] ["cljsbuild" "once" "min"] ["less" "once"]]
:cljsbuild :cljsbuild
{:builds {:builds
{:min {:min