提交 7be61c6b 编写于 作者: L Lucas Meneghel Rodrigues 提交者: Lucas Meneghel Rodrigues

Merge pull request #188 from lmr/make_check

Makefile: Add 'make check'
......@@ -47,3 +47,6 @@ clean:
$(MAKE) -f $(CURDIR)/debian/rules clean || true
rm -rf build/ MANIFEST BUILD BUILDROOT SPECS RPMS SRPMS SOURCES
find . -name '*.pyc' -delete
check:
selftests/checkall
#!/bin/bash
run_rc() {
echo "Running '$1'"
$1
}
run_rc 'inspekt lint'
rc1=$?
echo ""
run_rc 'inspekt indent'
rc2=$?
echo ""
run_rc 'inspekt style'
rc3=$?
echo ""
run_rc 'selftests/run selftests/all'
rc4=$?
exit $rc1 || $rc2 || $rc3 || $rc4
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册