1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
#!/usr/bin/make PYTHON := /usr/bin/env python unit_test: nosetests --with-coverage --cover-package=hooks hooks sync-charm-helpers: bin/charm_helpers_sync.py @mkdir -p bin @$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers.yaml bin/charm_helpers_sync.py: @bzr cat lp:charm-helpers/tools/charm_helpers_sync/charm_helpers_sync.py > bin/charm_helpers_sync.py lint: @echo "Lint check (flake8)" @flake8 -v --ignore E501 --exclude hooks/charmhelpers hooks |