mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
instead of adding an extra CMakeLists in .ci/travis/code_layout to build API doc, astyle and run tests (indentation, spelling, sip, doc coverage), the top CMakeLists has been adapted to allow not building core libraries and possibly just the static code layout * astyle has been moved from /src/astyle to /lib/astyle (I would propose to move all external libraries, and possibly add git submodules)
16 lines
383 B
Bash
Executable File
16 lines
383 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# This runs sipify on the demo header and checks output
|
|
|
|
DIR=$(git rev-parse --show-toplevel)
|
|
|
|
pushd ${DIR} > /dev/null
|
|
outdiff=$(./scripts/sipify.pl tests/code_layout/sipifyheader.h | diff tests/code_layout/sipifyheader.expected.sip -)
|
|
popd > /dev/null
|
|
|
|
if [[ $outdiff ]]; then
|
|
echo " *** sipify.pl did not output expected file"
|
|
echo "$outdiff"
|
|
exit 1
|
|
fi
|