Update runastyle (#1421)

Try to format cppcheck.1.xml via xmllint as suggested in https://github.com/danmar/cppcheck/pull/1420
This commit is contained in:
amai2012 2018-10-13 18:39:37 +02:00 committed by Daniel Marjamäki
parent 9cf092657c
commit 9306027987
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#!/bin/bash #!/bin/bash
# The version check in this script is used to avoid commit battles # The version check in this script is used to avoid commit battles
# between different developers that use different astyle versions as # between different developers that use different astyle versions as
@ -54,3 +55,6 @@ do
xmllint --format -o ${PLATFORMFILE}_ ${PLATFORMFILE} xmllint --format -o ${PLATFORMFILE}_ ${PLATFORMFILE}
mv -f ${PLATFORMFILE}_ ${PLATFORMFILE} mv -f ${PLATFORMFILE}_ ${PLATFORMFILE}
done done
xmllint --format -o man/cppcheck.1.xml_ man/cppcheck.1.xml
mv -f man/cppcheck.1.xml_ man/cppcheck.1.xml