Sync charm-helpers from lp:charm-helpers and add charm_helpers_sync.py smarts to Makefile

This commit is contained in:
Liam Young
2014-08-13 14:13:37 +01:00
parent f1e156136e
commit c747cfe46d
20 changed files with 898 additions and 116 deletions

View File

@@ -17,9 +17,14 @@ test:
# https://bugs.launchpad.net/amulet/+bug/1320357
@juju test -v -p AMULET_HTTP_PROXY
sync:
@charm-helper-sync -c charm-helpers-hooks.yaml
@charm-helper-sync -c charm-helpers-tests.yaml
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
@$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-tests.yaml
publish: lint test
bzr push lp:charms/swift-storage