Project for motorola Moto G 2014 LTE (THEA)
# Make a directory where Repo will be stored and add it to the path
$ mkdir ~/.bin
$ PATH=~/.bin:$PATH
# Download Repo itself
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
# Make Repo executable
$ chmod a+x ~/.bin/repo
$ repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1
$ curl --create-dirs -L -o .repo/local_manifests/local_manifest.xml -O -L https://raw.githubusercontent.com/RolanDroid/local_manifest/cm-12.1/local_manifest.xml
$repo sync -j4
$ build/envsetup.sh
$ brunch device_name_here