~nottrobin/charms/precise/block-storage-broker/ensure-python-apt

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Charles Butler
  • Date: 2014-09-19 18:26:53 UTC
  • mfrom: (56.1.1 block-storage-broker)
  • Revision ID: chuck@dasroot.net-20140919182653-pu6u4qqx8q3k9un2
  Tim Van Steenburgh 2014-09-10 Fix tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
CHARM_DIR=`pwd`
3
3
 
4
4
clean:
 
5
        rm -rf .venv
5
6
        find . -name *.pyc | xargs -r rm
6
7
        find . -name _trial_temp | xargs -r rm -r
7
 
test:
8
 
        cd hooks; trial -j3 test_*py
 
8
 
 
9
test: .venv
 
10
        cd hooks; ../.venv/bin/trial -j3 test_*py
 
11
 
 
12
.venv:
 
13
        sudo apt-get install python-virtualenv python-apt
 
14
        virtualenv .venv --system-site-packages
 
15
        .venv/bin/pip install -I boto twisted pyyaml
9
16
 
10
17
lint:
11
18
        @flake8 --exclude hooks/charmhelpers hooks