To get started with the building process, you'll need to get familiar with Git and Repo.
To initialize your local repository, use a command like this:
repo init -u https://github.com/Ninja-OS/manifest.git -b o8.1
Then to sync up:
repo sync -f --force-sync --no-clone-bundle --no-tags -j8
Additionally, you can define the number of parallel download repo should do:
repo sync --current-branch --no-tags --no-clone-bundle --optimized-fetch --force-broken --force-sync -jX
With X being the number of parallel downloads
From root directory of Ninja-OS type following commands in terminal
. build/envsetup.sh
lunch ninja_$devicecodename-$BuildType
brunch $devicecodename
If your device code name is "goldfish", then:
. build/envsetup.sh
lunch ninja_goldfish-userdebug
brunch goldfish
Happy Compiling :)