Statistics
| Branch: | Tag: | Revision:

mininet / Makefile @ 26266932

History | View | Annotate | Download (440 Bytes)

1
all: codecheck test
2

    
3
clean:
4
	rm -rf build dist *.egg-info *.pyc
5

    
6
MININET = mininet/*.py
7
TEST = mininet/test/*.py
8
EXAMPLES = examples/*.py
9
BIN = bin/mn bin/mnclean
10
PYSRC = $(MININET) $(TEST) $(EXAMPLES) $(BIN)
11

    
12
P8IGN = E251,E201,E302
13

    
14
codecheck: $(PYSRC)
15
	pyflakes $(PYSRC)
16
	pylint --rcfile=.pylint $(PYSRC)
17
	pep8 --repeat --ignore=$(P8IGN) $(PYSRC)
18

    
19
test: $(MININET) $(TEST)
20
	mininet/test/test_nets.py
21

    
22
install:
23
	python setup.py install
24

    
25

    
26