18.2.1
by James Page
Add makefile for lint and future testing |
1 |
#!/usr/bin/make
|
2 |
PYTHON := /usr/bin/env python |
|
3 |
||
4 |
lint: |
|
36
by Edward Hope-Morley
[gnuoy,r=jamespage,hopem] |
5 |
@flake8 --exclude hooks/charmhelpers hooks unit_tests |
18.2.1
by James Page
Add makefile for lint and future testing |
6 |
@charm proof |
7 |
||
36
by Edward Hope-Morley
[gnuoy,r=jamespage,hopem] |
8 |
unit_test: |
35.1.2
by Liam Young
bunch of fixes |
9 |
@echo Starting 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.yaml |