This includes a resync of charms_ceph to raise the directory one level The charms_ceph change that we're syncing in changes the name of the ceph.py file into the __init__.py file to remove the second level of namespacing Change-Id: I4eabbd313de2e9420667dc4acca177b2dbbf9581
36 lines
860 B
Makefile
36 lines
860 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
|
|
|
|
bin/git_sync.py:
|
|
@mkdir -p bin
|
|
@wget -O bin/git_sync.py https://raw.githubusercontent.com/ChrisMacNaughton/git-sync/master/git_sync.py
|
|
|
|
ch-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
|
|
|
|
git-sync: bin/git_sync.py
|
|
$(PYTHON) bin/git_sync.py -d lib -s https://github.com/CanonicalLtd/charms_ceph.git
|
|
|
|
sync: git-sync ch-sync
|
|
|
|
publish: lint
|
|
bzr push lp:charms/ceph-osd
|
|
bzr push lp:charms/trusty/ceph-osd
|