charm-nova-cloud-controller/Makefile
Ryan Beisner 15071bdd5f Remove charm-helpers from tests dir and use venv instead
Change-Id: I9a4245e764e268327466bc0fbe8b5383303ad07f
2017-05-26 16:24:32 +00:00

26 lines
549 B
Makefile

#!/usr/bin/make
PYTHON := /usr/bin/env python
lint:
@tox -e pep8
test:
@echo Starting unit tests...
@tox -e py27
functional_test:
@echo Starting Amulet tests...
@tox -e func27
bin/charm_helpers_sync.py:
@mkdir -p bin
@bzr cat lp:charm-helpers/tools/charm_helpers_sync/charm_helpers_sync.py \
> bin/charm_helpers_sync.py
sync: bin/charm_helpers_sync.py
@$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-hooks.yaml
publish: lint test
bzr push lp:charms/nova-cloud-controller
bzr push lp:charms/trusty/nova-cloud-controller