mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-03 05:03:38 +00:00
Build contracts with leiningen
* compile .sol files and generate java with web3j as part of uberjar build Related to #80
This commit is contained in:
parent
6acc1bfb96
commit
3f5a79c223
@ -67,6 +67,7 @@
|
||||
[lein-cljsbuild "1.1.3"]
|
||||
[lein-auto "0.1.2"]
|
||||
[lein-less "1.7.5"]
|
||||
[lein-shell "0.5.0"]
|
||||
[cider/cider-nrepl "0.14.0"]
|
||||
[lein-sha-version "0.1.1"]]
|
||||
|
||||
@ -74,6 +75,11 @@
|
||||
:less {:source-paths ["src/less"]
|
||||
:target-path "resources/public/css"}
|
||||
|
||||
:auto {"build-contracts" {:file-pattern #"\.(sol)\n"
|
||||
:paths ["./contracts"]}}
|
||||
|
||||
:aliases {"build-contracts" ["shell" "./build_contracts.sh"]}
|
||||
|
||||
:ring {:destroy commiteth.scheduler/stop-scheduler}
|
||||
|
||||
:uberjar-exclusions [#"public/README.md" #"public/cards.html"]
|
||||
@ -88,7 +94,7 @@
|
||||
|
||||
:profiles
|
||||
{:uberjar {:omit-source true
|
||||
:prep-tasks [["javac"] ["compile"] ["cljsbuild" "once" "min"] ["less" "once"]]
|
||||
:prep-tasks ["build-contracts" "javac" "compile" ["cljsbuild" "once" "min"] ["less" "once"]]
|
||||
:cljsbuild
|
||||
{:builds
|
||||
{:min
|
||||
|
Loading…
x
Reference in New Issue
Block a user