4f26ffd447
* Fix project name, links, rename binary * Update util/version/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> * Update updater/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> * Update util/version/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> Co-authored-by: David <dvdplm@gmail.com>
23 lines
775 B
Bash
Executable File
23 lines
775 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e # fail on any error
|
|
set -u # treat unset variables as error
|
|
#strip ON
|
|
export RUSTFLAGS=" -Clink-arg=-s -Ctarget-feature=+aes,+sse2,+ssse3"
|
|
|
|
echo "_____ Build OpenEthereum and tools _____"
|
|
|
|
time cargo build --verbose --color=always --release --features final
|
|
time cargo build --verbose --color=always --release -p evmbin
|
|
time cargo build --verbose --color=always --release -p ethstore-cli
|
|
time cargo build --verbose --color=always --release -p ethkey-cli
|
|
|
|
echo "_____ Post-processing binaries _____"
|
|
rm -rf artifacts/*
|
|
mkdir -p artifacts/
|
|
|
|
cp -v target/release/openethereum artifacts/openethereum
|
|
cp -v target/release/openethereum-evm artifacts/openethereum-evm
|
|
cp -v target/release/ethstore artifacts/ethstore
|
|
cp -v target/release/ethkey artifacts/ethkey
|