2014-01-23 16:14:44 +00:00
|
|
|
#!/usr/bin/make
|
|
|
|
PYTHON := /usr/bin/env python
|
|
|
|
|
|
|
|
lint:
|
2016-03-15 20:08:45 -07:00
|
|
|
@tox -e pep8
|
2014-01-23 16:14:44 +00:00
|
|
|
|
2015-06-25 16:05:55 +00:00
|
|
|
test:
|
|
|
|
@echo Starting unit tests...
|
2016-03-15 20:08:45 -07:00
|
|
|
@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...
|
2016-07-19 03:49:32 +00:00
|
|
|
@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
|
|
|
|
2015-06-29 18:40:47 +00: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
|