~viswesn/charms/trusty/mysql/lint

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Jorge Niedbalski
  • Date: 2015-02-27 16:18:40 UTC
  • mfrom: (140.1.2 mysql)
  • Revision ID: jorge.niedbalski@canonical.com-20150227161840-oxdi2rnx5qnkomi1
[hopem, r=niedbalski, billy-olsen] Fixes bug LP: #1425999

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make
2
2
PYTHON := /usr/bin/env python
 
3
export PYTHONPATH := hooks
3
4
 
4
5
lint:
5
6
        @flake8 --exclude hooks/charmhelpers hooks
6
 
#       @flake8 --exclude hooks/charmhelpers unit_tests
 
7
        @flake8 --exclude hooks/charmhelpers unit_tests
7
8
        @charm proof
8
9
 
9
 
# TODO: write some unit tests then uncomment this and the flake8 line above.
10
 
#test:
11
 
#       @echo Starting tests...
12
 
#       @$(PYTHON) /usr/bin/nosetests --nologcapture unit_tests
 
10
test:
 
11
        @echo Starting tests...
 
12
        @$(PYTHON) /usr/bin/nosetests --nologcapture unit_tests
13
13
 
14
14
bin/charm_helpers_sync.py:
15
15
        @mkdir -p bin