AeroGear Build Cli for Digger
Project description
Usage
Full documentation at http://digger-build-cli.readthedocs.io.
Requirements
If running outside a container:
Download and install conda: http://conda.pydata.org/miniconda.html
After cloning the repository run:
conda env create -f env.yaml python=3.5.1
To activate the environment run (might need a new terminal window or reload bashrc/bash_profile):
source activate digger
You will also need Node 4.x, NPM, Cordova >=6 and Java 8 on your machine.
Some requirements are needed to run it outside of a container:
Installation
python setup.py install
Tests
Requirements
Installing development dependencies:
pip install -r requirements.txt
Tests will download all templates from their Github repository (master branch) and will try to build it.
If running outside of the container
Prepare
# create a folder for Gradle cache
mkdir /gradle-cache
# make sure you have write permissions
chown -R ${USER} /gradle-cache
Also, make sure you have Android SDK on your machine and $ANDROID_HOME is set.
setup.py
python setup.py test
using py.test directly (from digger project root folder)
py.test -s
Running an individual test
For example:
py.test -s tests/test_build.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.