Setup
Environment
The build environment is based on Shaun Inman's docker image.
We recommend to use a Linux VM with Docker installed. For example you can use VMware Workstation Player or VirtualBox.
You can find pre-installed Linux images on linuxvmimages.com
Building
Docker must be installed and running.
The following command lines will install the required Docker image to get the preconfigured Toolchain for compilation (credits: Shaun Inman), compile all the sources and make a release.
Open a Terminal and type :
git clone --branch dev-latest https://github.com/OnionUI/Onion.git
cd Onion/
make git-submodules
make with-toolchain
or
make with-toolchain CMD=dev
(to enable debug logging )
Done!
Toolchain
You can also use the command make toolchain
to get access to the toolchain docker image, here to can run any commands, like make dev
.