chore: update README and build script

This commit is contained in:
Patryk Osmaczko 2022-07-21 07:43:47 +02:00 committed by Michał Cieślak
parent de0823a2e2
commit c84651dc5c
2 changed files with 7 additions and 14 deletions

View File

@ -36,7 +36,7 @@ To make viewing and testing components easy, we've added a sandbox application t
### Using Qt Creator ### Using Qt Creator
The easiest way to run the sandbox application is to simply open the provided `sandbox.pro` file using Qt Creator. The easiest way to run the sandbox application is to simply open the provided `CMakeLists.txt` file using Qt Creator.
### Using command line interface ### Using command line interface
@ -44,14 +44,13 @@ To run the sandbox from within a command line interface, run the following comma
``` ```
$ git clone https://github.com/status-im/StatusQ $ git clone https://github.com/status-im/StatusQ
$ cd StatusQ/sandbox $ cd StatusQ
$ ./scripts/build $ git submodule update --init
$ ./sandbox/scripts/build
``` ```
Once that is done, the sandbox can be started with the generated executable: Once that is done, the sandbox can be started with the generated executable:
``` ```
$ ./bin/sandbox $ ./build/sandbox/Sandbox
``` ```
More Documentation available on the [wiki](https://hackmd.io/@status-desktop/B1naRjxh_/%2FwFtiXvOiQqCdw2lk6gbOLA)

View File

@ -1,10 +1,4 @@
#!/bin/bash #!/bin/bash
make clean cmake -B build
if [[ $OSTYPE == 'darwin'* ]] cmake --build build
then
qmake sandbox.pro -spec macx-clang CONFIG+=debug CONFIG+=x86_64 && /usr/bin/make qmake_all
else
qmake sandbox.pro CONFIG+=debug CONFIG+=x86_64 && /usr/bin/make qmake_all
fi
make