[T] Temporary commented astyle

This commit is contained in:
seleznevae 2019-10-26 10:47:25 +03:00
parent 8850b74303
commit 461a0fc63c

View File

@ -222,25 +222,25 @@ script:
fi fi
# Astyle Format # Astyle Format
- | # - |
if [ "${CC}" = 'gcc' ]; then # if [ "${CC}" = 'gcc' ]; then
ls # ls
cd .. ; # cd .. ;
rm -r build/* ; # rm -r build/* ;
cd build ; # cd build ;
cmake .. -DFORT_ENABLE_ASTYLE=ON ; # cmake .. -DFORT_ENABLE_ASTYLE=ON ;
make ; # make ;
make format ; # make format ;
cd .. ; # cd .. ;
if [[ -n $(git diff) ]]; then # if [[ -n $(git diff) ]]; then
echo "You must run make format before submitting a pull request" ; # echo "You must run make format before submitting a pull request" ;
echo "" ; # echo "" ;
git diff ; # git diff ;
exit -1 ; # exit -1 ;
fi # fi
cd build ; # cd build ;
rm -rf external # rm -rf external
fi # fi
# Clang static analyzer (doesn't work - can't find scan-build) # Clang static analyzer (doesn't work - can't find scan-build)