charm-swift-storage/Makefile
Edin Sarajlic a866308957 Update Makefile to reference Zaza and Python3
Change-Id: I0ab3e8abd4732ef2ccbcaeae58341796210a3af3
2020-08-27 09:40:37 +10:00

27 lines
608 B
Makefile
Executable File

#!/usr/bin/make
PYTHON := /usr/bin/env python3
lint:
@tox -e pep8
test:
@echo Starting unit tests...
@tox -e py3
functional_test:
@echo Starting Zaza tests...
@tox -e func
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