~timkuhlman/charms/trusty/rsyslog/tcp

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Marco Ceppi
  • Date: 2015-03-24 19:29:26 UTC
  • Revision ID: marco@ceppi.net-20150324192926-gvex20zz0qk2utvs
Fix for linting

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
build: sync-charm-helpers lint
8
8
 
9
 
lint:
 
9
lint: venv
 
10
        $(PIP) install flake8 --upgrade
10
11
        $(FLAKE8) --exclude hooks/charmhelpers --ignore=E125 hooks
11
12
 
12
13
test: venv
13
 
        $(PIP) install -r test_requirements.txt
14
14
        @PYTHONPATH=$(PYTHON_PATH):hooks/ $(NOSE) --nologcapture unit_tests 
15
15
 
16
16
venv: $(PYTHON)
17
17
        virtualenv --system-site-packages .venv
 
18
        $(PIP) install -r test_requirements.txt --upgrade
18
19
 
19
20
$(PYTHON):
20
21
        sudo apt-get install python-virtualenv