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