summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-06-25 20:34:26 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-06-25 20:35:16 +0000
commit9b7d828f8386808e3d65cdc0ae6bf351897b8798 (patch)
treeb54a1b29009223e1b4bd1798c431f51d5a7b2890 /other
parent957508f698a19857c12cc77bdeb64cd4d0908dfa (diff)
Only run astyle if the astyle binary exists.
Diffstat (limited to 'other')
-rwxr-xr-xother/travis/toxcore-script4
1 files changed, 3 insertions, 1 deletions
diff --git a/other/travis/toxcore-script b/other/travis/toxcore-script
index 1c6bea75..f82fd978 100755
--- a/other/travis/toxcore-script
+++ b/other/travis/toxcore-script
@@ -44,4 +44,6 @@ if $RUN_TESTS; then
44 TESTS $MAX_TEST_RETRIES $MAKE -C$BUILD_DIR -j$NPROC test ARGS="-j50 --rerun-failed" CTEST_OUTPUT_ON_FAILURE="$CTEST_OUTPUT_ON_FAILURE" 44 TESTS $MAX_TEST_RETRIES $MAKE -C$BUILD_DIR -j$NPROC test ARGS="-j50 --rerun-failed" CTEST_OUTPUT_ON_FAILURE="$CTEST_OUTPUT_ON_FAILURE"
45fi 45fi
46 46
47other/astyle/format-source . $ASTYLE 47if [ -f "$ASTYLE" ]; then
48 other/astyle/format-source . $ASTYLE
49fi