mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Build astyle
This commit is contained in:
parent
e0c58eb7d7
commit
77bc28f36c
@ -13,7 +13,4 @@
|
||||
# #
|
||||
###########################################################################
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
export CORES=2
|
||||
|
||||
pip install autopep8
|
||||
|
@ -13,7 +13,10 @@
|
||||
# #
|
||||
###########################################################################
|
||||
|
||||
export CORES=2
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake ../ci/travis/code_layout
|
||||
make -j${CORES}
|
||||
|
@ -13,6 +13,10 @@
|
||||
# #
|
||||
###########################################################################
|
||||
|
||||
cd build
|
||||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
|
||||
export QGISSTYLE=${DIR}/scripts/qgisstyle
|
||||
|
||||
pushd build
|
||||
xvfb-run ctest -V --output-on-failure
|
||||
popd
|
||||
|
@ -14,7 +14,7 @@
|
||||
# #
|
||||
###########################################################################
|
||||
|
||||
for ASTYLE in $(dirname $0)/qgisstyle $(dirname $0)/RelWithDebInfo/qgisstyle
|
||||
for ASTYLE in ${QGISSTYLE} $(dirname $0)/qgisstyle $(dirname $0)/RelWithDebInfo/qgisstyle
|
||||
do
|
||||
if type -p $ASTYLE >/dev/null; then
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user