summaryrefslogtreecommitdiff
path: root/other/travis/toxcore-script
diff options
context:
space:
mode:
Diffstat (limited to 'other/travis/toxcore-script')
-rwxr-xr-xother/travis/toxcore-script6
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/*"` 10other/astyle/format-source
11git diff --exit-code 11git diff --exit-code
12 12
13# Build toxcore and run tests. 13# Build toxcore and run tests.