Add less build to :prep-tasks, update build instructions
This commit is contained in:
parent
1744810c8a
commit
abb36770c6
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue