~felipe-alfaro-gmail/charms/xenial/neutron-api/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Felipe Alfaro Solana
  • Date: 2017-04-05 19:45:40 UTC
  • Revision ID: felipe.alfaro@gmail.com-20170405194540-85i0nhnp98ipob0y
Neutron API charm.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make
 
2
PYTHON := /usr/bin/env python
 
3
 
 
4
lint:
 
5
        @tox -e pep8
 
6
 
 
7
test:
 
8
        @echo Starting unit tests...
 
9
        @tox -e py27
 
10
 
 
11
functional_test:
 
12
        @echo Starting Amulet tests...
 
13
        @tox -e func27
 
14
 
 
15
bin/charm_helpers_sync.py:
 
16
        @mkdir -p bin
 
17
        @bzr cat lp:charm-helpers/tools/charm_helpers_sync/charm_helpers_sync.py \
 
18
        > bin/charm_helpers_sync.py
 
19
 
 
20
sync: bin/charm_helpers_sync.py
 
21
        @$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-hooks.yaml
 
22
        @$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-tests.yaml
 
23
 
 
24
publish: lint test
 
25
        bzr push lp:charms/neutron-api
 
26
        bzr push lp:charms/trusty/neutron-api