Skip to content
Snippets Groups Projects
Commit 2b03a115 authored by Bob Lantz's avatar Bob Lantz
Browse files

Changed make clean to delete mnexec; added codecheck and test messages.

parent 85cc906f
No related branches found
No related tags found
No related merge requests found
all: codecheck test all: codecheck test
clean: clean:
rm -rf build dist *.egg-info *.pyc rm -rf build dist *.egg-info *.pyc mnexec bin/mnexec
MININET = mininet/*.py MININET = mininet/*.py
TEST = mininet/test/*.py TEST = mininet/test/*.py
...@@ -12,11 +12,13 @@ PYSRC = $(MININET) $(TEST) $(EXAMPLES) $(BIN) ...@@ -12,11 +12,13 @@ PYSRC = $(MININET) $(TEST) $(EXAMPLES) $(BIN)
P8IGN = E251,E201,E302,E202 P8IGN = E251,E201,E302,E202
codecheck: $(PYSRC) codecheck: $(PYSRC)
-echo "Running code check"
pyflakes $(PYSRC) pyflakes $(PYSRC)
pylint --rcfile=.pylint $(PYSRC) pylint --rcfile=.pylint $(PYSRC)
pep8 --repeat --ignore=$(P8IGN) $(PYSRC) pep8 --repeat --ignore=$(P8IGN) $(PYSRC)
test: $(MININET) $(TEST) test: $(MININET) $(TEST)
-echo "Running tests"
mininet/test/test_nets.py mininet/test/test_nets.py
install: mnexec install: mnexec
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment