Run tests on pushes and pull requests
[tinc] / Makefile.am
index a09ee4d..b3b5a03 100644 (file)
@@ -2,7 +2,7 @@
 
 AUTOMAKE_OPTIONS = gnu
 
-SUBDIRS =  src doc test systemd
+SUBDIRS =  src doc test systemd bash_completion.d
 
 ACLOCAL_AMFLAGS = -I m4
 
@@ -36,5 +36,8 @@ release:
        /usr/bin/editor $(srcdir)/NEWS
        $(MAKE) dist
 
+check-style:
+       astyle --options=.astylerc --dry-run -nQ src/*.[ch] src/*/*.[ch]
+
 astyle:
-       astyle --options=.astylerc -nQ src/*.[ch] src/*/*.[ch] test/*.[ch]
+       astyle --options=.astylerc -nQ src/*.[ch] src/*/*.[ch]