27 lines
595 B
Makefile
Raw Normal View History

2014-01-23 16:14:44 +00:00
#!/usr/bin/make
PYTHON := /usr/bin/env python
lint:
@tox -e pep8
2014-01-23 16:14:44 +00:00
2015-06-25 16:05:55 +00:00
test:
@echo Starting unit tests...
@tox -e py27
2014-01-23 16:14:44 +00:00
2015-06-25 16:05:55 +00:00
functional_test:
@echo Starting Amulet tests...
@tox -e func27
2015-06-25 16:05:55 +00:00
2014-07-02 09:14:53 +01:00
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
2015-06-29 14:28:46 +00:00
@$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-hooks.yaml
2015-06-25 16:05:55 +00:00
@$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-tests.yaml
2014-07-02 09:14:53 +01:00
publish: lint test
2014-07-02 09:14:53 +01:00
bzr push lp:charms/cinder-ceph
bzr push lp:charms/trusty/cinder-ceph