Merge pull request #318 from status-im/fix/remove-build-contracts-from-dev
Do not invoke build-contracts when running lein dev profile
This commit is contained in:
commit
1c774e6053
11
README.md
11
README.md
|
@ -106,6 +106,12 @@ Launch the following command in a separate shell:
|
||||||
lein less auto
|
lein less auto
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Solidity compilation
|
||||||
|
Invoke `build-contracts` Leiningen task to compile Solidity files into Java classes:
|
||||||
|
```
|
||||||
|
lein build-contracts
|
||||||
|
```
|
||||||
|
|
||||||
### Clojure app without REPL
|
### Clojure app without REPL
|
||||||
Launch following commands each in its own shell:
|
Launch following commands each in its own shell:
|
||||||
|
|
||||||
|
@ -146,7 +152,10 @@ To create a standalone uberjar:
|
||||||
lein uberjar
|
lein uberjar
|
||||||
```
|
```
|
||||||
|
|
||||||
This creates `target/uberjar/commiteth-<git-sha>.jar`
|
This creates `target/uberjar/commiteth.jar`. You can run it with the following command from within project root:
|
||||||
|
```
|
||||||
|
java -Dconf=<path_to_config.edn> -jar target/uberjar/commiteth.jar
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
|
@ -83,14 +83,13 @@
|
||||||
|
|
||||||
:uberjar-exclusions [#"public/README.md" #"public/cards.html"]
|
:uberjar-exclusions [#"public/README.md" #"public/cards.html"]
|
||||||
:clean-targets ^{:protect false}
|
:clean-targets ^{:protect false}
|
||||||
[:target-path [:cljsbuild :builds :app :compiler :output-dir] [:cljsbuild :builds :app :compiler :output-to]]
|
[:target-path :java-source-paths [:cljsbuild :builds :app :compiler :output-dir] [:cljsbuild :builds :app :compiler :output-to]]
|
||||||
:figwheel
|
:figwheel
|
||||||
{:http-server-root "public"
|
{:http-server-root "public"
|
||||||
:nrepl-port 7002
|
:nrepl-port 7002
|
||||||
:css-dirs ["resources/public/css"]
|
:css-dirs ["resources/public/css"]
|
||||||
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
|
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
|
||||||
|
|
||||||
|
|
||||||
:profiles
|
:profiles
|
||||||
{:uberjar {:jvm-opts ["-server" "-Dconf=config-prod.edn"]
|
{:uberjar {:jvm-opts ["-server" "-Dconf=config-prod.edn"]
|
||||||
:omit-source true
|
:omit-source true
|
||||||
|
@ -143,7 +142,6 @@
|
||||||
:optimizations :none
|
:optimizations :none
|
||||||
:pretty-print true}}]}
|
:pretty-print true}}]}
|
||||||
|
|
||||||
:prep-tasks ["build-contracts" "javac"]
|
|
||||||
:doo {:build "test"}
|
:doo {:build "test"}
|
||||||
:source-paths ["env/dev/clj" "test/clj"]
|
:source-paths ["env/dev/clj" "test/clj"]
|
||||||
:resource-paths ["env/dev/resources"]
|
:resource-paths ["env/dev/resources"]
|
||||||
|
|
Loading…
Reference in New Issue