~corey.bryant/charms/trusty/quantum-gateway/use-stable

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Liam Young
  • Date: 2014-07-29 08:08:35 UTC
  • mfrom: (52.2.6 quantum-gateway)
  • Revision ID: liam.young@canonical.com-20140729080835-ss45r6v0c602aexz
[jamespage,r=gnuoy] Add support for multiple network configuration

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
PYTHON := /usr/bin/env python
3
3
 
4
4
lint:
5
 
        @flake8 --exclude hooks/charmhelpers hooks
6
 
        @flake8 --exclude hooks/charmhelpers unit_tests tests
 
5
        @flake8 --exclude hooks/charmhelpers hooks unit_tests tests
7
6
        @charm proof
8
7
 
9
8
unit_test:
10
9
        @echo Starting unit tests...
11
 
        @$(PYTHON) /usr/bin/nosetests --nologcapture unit_tests
 
10
        @$(PYTHON) /usr/bin/nosetests --nologcapture --with-coverage unit_tests
 
11
 
 
12
bin/charm_helpers_sync.py:
 
13
        @mkdir -p bin
 
14
        @bzr cat lp:charm-helpers/tools/charm_helpers_sync/charm_helpers_sync.py \
 
15
        > bin/charm_helpers_sync.py
 
16
 
 
17
sync: bin/charm_helpers_sync.py
 
18
        @$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-hooks.yaml
 
19
        @$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-tests.yaml
12
20
 
13
21
test:
14
22
        @echo Starting Amulet tests...
17
25
        #   https://bugs.launchpad.net/amulet/+bug/1320357
18
26
        @juju test -v -p AMULET_HTTP_PROXY
19
27
 
20
 
sync:
21
 
        @charm-helper-sync -c charm-helpers-hooks.yaml
22
 
        @charm-helper-sync -c charm-helpers-tests.yaml
23
 
 
24
 
publish: lint test
 
28
publish: lint unit_test
25
29
        bzr push lp:charms/quantum-gateway
26
30
        bzr push lp:charms/trusty/quantum-gateway