aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 09cb2092..e512cfe8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+PY_EXAMPLES=$(shell grep -l /usr/bin/python examples/*)
+
all: syntax-check test
all+net:
@@ -13,6 +15,7 @@ test:
syntax-check:
flake8 -j1
+ flake8 -j1 $(PY_EXAMPLES)
docs:
make -C docs