aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 5cfea74d..3c3260f5 100755
--- a/build.sh
+++ b/build.sh
@@ -2,14 +2,17 @@
pushd $(pwd)
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+BITMOMERO_DIR=bitmonero
-#$SHELL get_libwallet_api.sh
+if [ ! -d $BITMOMERO_DIR ]; then
+ $SHELL get_libwallet_api.sh
+fi
if [ ! -d build ]; then mkdir build; fi
cd build
echo $(pwd)
-qmake ../monero-core.pro "CONFIG += release"
-make release
+qmake ../monero-core.pro "CONFIG+=release"
+make
make deploy
popd