From 9a71f684d4de1fb94829f1c55865f6107da1421f Mon Sep 17 00:00:00 2001 From: KKudryavtsev Date: Thu, 4 Feb 2016 23:03:56 +0000 Subject: [PATCH] slimming down the installer --- install-deps.sh | 17 ----------------- install-parity.sh | 19 ++----------------- 2 files changed, 2 insertions(+), 34 deletions(-) diff --git a/install-deps.sh b/install-deps.sh index a641f3659..cb8cc2186 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -385,7 +385,6 @@ function run_installer() find_gcc find_apt - find_docker } function find_rocksdb() @@ -519,22 +518,6 @@ function run_installer() fi } - function find_docker() - { - depCount=$((depCount+1)) - DOCKER_PATH=`which docker 2>/dev/null` - - if [[ -f $DOCKER_PATH ]] - then - depFound=$((depFound+1)) - check "docker" - echo "$($DOCKER_PATH -v)" - isDocker=true - else - isDocker=false - uncheck "docker is missing" - fi - } function ubuntu1404_rocksdb_installer() { diff --git a/install-parity.sh b/install-parity.sh index aa8524e99..7d219b1cf 100755 --- a/install-parity.sh +++ b/install-parity.sh @@ -195,12 +195,8 @@ function run_installer() git submodule init git submodule update - info "Building & testing Parity..." - cargo test --release -p ethcore-util - - info "Running consensus tests..." - git submodule update -i - cargo test --release --features ethcore/json-tests -p ethcore + info "Building Parity..." + cargo build --release echo info "Parity source code is in $(pwd)/parity" @@ -297,16 +293,6 @@ EOL fi } - function verify_installation() - { - info "Verifying installation" - find_eth - - if [[ $isEth == false ]] - then - abortInstall - fi - } function abortInstall() { @@ -340,7 +326,6 @@ EOL fi install - verify_installation if [[ $OS_TYPE == "linux" ]] then