add monero as git submodule

update monero submodule to d98db48
This commit is contained in:
Jaquee 2017-01-14 12:24:08 +01:00
parent 593839a374
commit a8f30212d4
No known key found for this signature in database
GPG key ID: 384E52B09F45DC39
3 changed files with 9 additions and 7 deletions

4
.gitmodules vendored Normal file
View file

@ -0,0 +1,4 @@
[submodule "monero"]
path = monero
url = https://github.com/monero-project/monero
ignore = dirty

View file

@ -54,14 +54,11 @@ source $ROOT_DIR/utils.sh
INSTALL_DIR=$ROOT_DIR/wallet
MONERO_DIR=$ROOT_DIR/monero
if [ ! -d $MONERO_DIR ]; then
git clone --depth=1 $MONERO_URL $MONERO_DIR --branch $MONERO_BRANCH --single-branch
else
cd $MONERO_DIR;
git checkout $MONERO_BRANCH
git pull;
# init and update monero submodule
if [ ! -d $MONERO_DIR/src ]; then
git submodule init monero
fi
git submodule update
echo "cleaning up existing monero build dir, libs and includes"
rm -fr $MONERO_DIR/build

1
monero Submodule

@ -0,0 +1 @@
Subproject commit d98db4868ddd7727866b053eeeb8fe154363896c