charm-swift-storage/Makefile
Liam Young 37efe8a2a7 Tests dir no longer need copy of charmhelpers
Charmhelpers is now installed via pip for unit tests so stop
'Make sync' from pulling it down.

Change-Id: I9d3198b419cefbcf7ee710dfbda57415e2a70ff9
2018-10-10 12:41:54 +00:00

27 lines
612 B
Makefile
Executable File

#!/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
@curl -o bin/charm_helpers_sync.py https://raw.githubusercontent.com/juju/charm-helpers/master/tools/charm_helpers_sync/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/swift-storage
bzr push lp:charms/trusty/swift-storage
.PHONY: lint test functional_test sync publish