mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Only run astyle if the astyle binary exists.
This commit is contained in:
parent
957508f698
commit
9b7d828f83
|
@ -44,4 +44,6 @@ if $RUN_TESTS; then
|
||||||
TESTS $MAX_TEST_RETRIES $MAKE -C$BUILD_DIR -j$NPROC test ARGS="-j50 --rerun-failed" CTEST_OUTPUT_ON_FAILURE="$CTEST_OUTPUT_ON_FAILURE"
|
TESTS $MAX_TEST_RETRIES $MAKE -C$BUILD_DIR -j$NPROC test ARGS="-j50 --rerun-failed" CTEST_OUTPUT_ON_FAILURE="$CTEST_OUTPUT_ON_FAILURE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f "$ASTYLE" ]; then
|
||||||
other/astyle/format-source . $ASTYLE
|
other/astyle/format-source . $ASTYLE
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user