build automation script. tested on macos

This commit is contained in:
Ilya Kitaev
2016-07-25 16:24:07 +03:00
parent c7c06a5893
commit 1b35a1ae4b
2 changed files with 34 additions and 2 deletions

28
build.sh Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/bash
pushd $(pwd)
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
#$SHELL get_libwallet_api.sh
if [ ! -d build ]; then mkdir build; fi
cd build
echo $(pwd)
qmake ../monero-core.pro "CONFIG += release"
make release
make deploy
popd