Skip to content

Commit

Permalink
Chenge release directory name to tiny/iroha.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkyonezu committed May 17, 2017
1 parent 031b4e6 commit 49cbefc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ iroha-build:

iroha:
rm -fr docker/tiny/iroha
rsync -av ${IROHA_HOME}/build/release docker/tiny/iroha
rsync -av ${IROHA_HOME}/build/iroha docker/tiny
docker build --rm -t hyperledger/iroha docker/tiny

clean:
Expand Down
16 changes: 8 additions & 8 deletions scripts/iroha-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ if [[ $? != 0 ]]; then
fi

LIBS=$(ldd ${IROHA_HOME}/build/bin/iroha-main | cut -f 2 | cut -d " " -f 3)
rm -fr ${IROHA_HOME}/build/release
mkdir -p ${IROHA_HOME}/build/release/lib
cp -H $LIBS ${IROHA_HOME}/build/release/lib
rm -fr ${IROHA_HOME}/build/iroha
mkdir -p ${IROHA_HOME}/build/iroha/lib
cp -H $LIBS ${IROHA_HOME}/build/iroha/lib

mkdir -p ${IROHA_HOME}/build/release/config
cp ${IROHA_HOME}/config/sumeragi.json ${IROHA_HOME}/build/release/config/sumeragi.json
cp ${IROHA_HOME}/config/config.json ${IROHA_HOME}/build/release/config/config.json
mkdir -p ${IROHA_HOME}/build/iroha/config
cp ${IROHA_HOME}/config/sumeragi.json ${IROHA_HOME}/build/iroha/config/sumeragi.json
cp ${IROHA_HOME}/config/config.json ${IROHA_HOME}/build/iroha/config/config.json

rsync -avr ${IROHA_HOME}/build/bin ${IROHA_HOME}/build/release
rsync -avr ${IROHA_HOME}/build/test_bin ${IROHA_HOME}/build/release
rsync -avr ${IROHA_HOME}/build/bin ${IROHA_HOME}/build/iroha
rsync -avr ${IROHA_HOME}/build/test_bin ${IROHA_HOME}/build/iroha

0 comments on commit 49cbefc

Please sign in to comment.