Statistics
| Branch: | Tag: | Revision:

mininet / Makefile @ 26266932

History | View | Annotate | Download (440 Bytes)

1 723d068c Brandon Heller
all: codecheck test
2
3 fd99d67c Brandon Heller
clean:
4 ac9554d6 Bob Lantz
	rm -rf build dist *.egg-info *.pyc
5 ff43615a Brandon Heller
6 ac9554d6 Bob Lantz
MININET = mininet/*.py
7
TEST = mininet/test/*.py
8 26266932 Bob Lantz
EXAMPLES = examples/*.py
9 ac9554d6 Bob Lantz
BIN = bin/mn bin/mnclean
10 26266932 Bob Lantz
PYSRC = $(MININET) $(TEST) $(EXAMPLES) $(BIN)
11 723d068c Brandon Heller
12 80a8fa62 Bob Lantz
P8IGN = E251,E201,E302
13
14 ac9554d6 Bob Lantz
codecheck: $(PYSRC)
15
	pyflakes $(PYSRC)
16
	pylint --rcfile=.pylint $(PYSRC)
17 26266932 Bob Lantz
	pep8 --repeat --ignore=$(P8IGN) $(PYSRC)
18 ac9554d6 Bob Lantz
19
test: $(MININET) $(TEST)
20 723d068c Brandon Heller
	mininet/test/test_nets.py
21 281f6e59 Bob Lantz
22
install:
23
	python setup.py install
24
25