[ci skip] update readme with rust override

This commit is contained in:
Nikolay Volf 2016-02-19 15:21:52 +03:00
parent 57ef5e2691
commit fe979f0d46

View File

@ -26,12 +26,17 @@ apt-get install -y --force-yes librocksdb-dev
# install multirust # install multirust
curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh -s -- --yes curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh -s -- --yes
# install beta and make it default # install beta
multirust default beta multirust update beta
# download and build parity # download and build parity
git clone https://github.com/ethcore/parity git clone https://github.com/ethcore/parity
cd parity cd parity
# parity should be build with rust beta
multirust override beta
# build in release
cargo build --release cargo build --release
``` ```
@ -49,12 +54,17 @@ cd ..
# install rust beta # install rust beta
curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sudo sh -s -- --yes curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sudo sh -s -- --yes
# install beta and make it default # install rust beta
sudo multirust default beta sudo multirust update beta
# download and build parity # download and build parity
git clone https://github.com/ethcore/parity git clone https://github.com/ethcore/parity
cd parity cd parity
# parity should be build with rust beta
sudo multirust override beta
# build in release
cargo build --release cargo build --release
``` ```
@ -66,12 +76,16 @@ brew update
brew install rocksdb brew install rocksdb
brew install multirust brew install multirust
# install beta and make it default # install beta
multirust default beta multirust update beta
# download and build parity # download and build parity
git clone https://github.com/ethcore/parity git clone https://github.com/ethcore/parity
cd parity cd parity
# use rust beta for building parity
multirust override beta
cargo build --release cargo build --release
``` ```