abcd

AeroGear Build Cli for Digger


Keywords
application, builds, gradle, ant, cordova, cli
License
MIT-feh
Install
pip install abcd==0.3.1

Documentation

abcd - AeroGear build cli for Digger

Build Status License

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