diff options
Diffstat (limited to 'other/travis/toxcore-script')
-rwxr-xr-x | other/travis/toxcore-script | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/other/travis/toxcore-script b/other/travis/toxcore-script index b2ee5d02..b99bbe5b 100755 --- a/other/travis/toxcore-script +++ b/other/travis/toxcore-script | |||
@@ -3,8 +3,10 @@ | |||
3 | set -e -x | 3 | set -e -x |
4 | 4 | ||
5 | # Check if toxcore.h and toxav.h match apidsl tox.in.h and toxav.in.h. | 5 | # Check if toxcore.h and toxav.h match apidsl tox.in.h and toxav.in.h. |
6 | ../apidsl/_build/apigen.native ./other/apidsl/tox.in.h | $ASTYLE --options=./other/astyle/astylerc > toxcore/tox.h | 6 | ../apidsl/_build/apigen.native other/apidsl/tox.in.h | $ASTYLE --options=other/astyle/astylerc > toxcore/tox.h |
7 | ../apidsl/_build/apigen.native ./other/apidsl/toxav.in.h | $ASTYLE --options=./other/astyle/astylerc > toxav/toxav.h | 7 | ../apidsl/_build/apigen.native other/apidsl/toxav.in.h | $ASTYLE --options=other/astyle/astylerc > toxav/toxav.h |
8 | # Check if the code is formatted according to the astyle configuration. | ||
9 | $ASTYLE --options=other/astyle/astylerc `find . -name "*.[ch]" -and -not -name "*.in.*" -and -not -wholename "*crypto_pwhash*" -and -not -wholename "./super_donators/*"` | ||
8 | git diff --exit-code | 10 | git diff --exit-code |
9 | 11 | ||
10 | # Build toxcore and run tests. | 12 | # Build toxcore and run tests. |