~julian-edwards/maas/power-change-api-error-bug-1384001

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Raphael Badin
  • Date: 2012-01-16 08:33:18 UTC
  • Revision ID: raphael.badin@canonical.com-20120116083318-2ntniy6eirey3drl
Initial commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
PYTHON_SRC := $(shell find src -name '*.py' )
 
2
PYTHON = python
 
3
 
 
4
build: bin/buildout
 
5
 
 
6
bin/buildout: buildout.cfg setup.py
 
7
        $(PYTHON) bootstrap.py
 
8
        bin/buildout
 
9
        @touch bin/buildout
 
10
 
 
11
test:
 
12
        bin/test
 
13
 
 
14
lint:
 
15
        pyflakes $(PYTHON_SRC)
 
16
        pylint --rcfile=etc/pylintrc $(PYTHON_SRC)
 
17
 
 
18
check: clean bin/buildout
 
19
        bin/test
 
20
 
 
21
clean:
 
22
        find . -type f -name '*.py[co]' -exec rm -f {} \;
 
23
        #rm -f bin/buildout
 
24
        #bzr clean-tree --unknown --force
 
25
 
 
26
realclean: clean
 
27
        rm -rf download-cache
 
28
        rm -rf eggs
 
29
        rm -rf develop-eggs
 
30
 
 
31
tags:
 
32
        bin/tags
 
33
 
 
34
run:
 
35
        bin/django runserver 8000
 
36
 
 
37
harness:
 
38
        bin/django shell
 
39
 
 
40
syncdb:
 
41
        bin/django syncdb