diff --git a/utils/format_source_files/format_source_files.sh b/utils/format_source_files/format_source_files.sh index 90dc8fef7..c4dd8d25a 100755 --- a/utils/format_source_files/format_source_files.sh +++ b/utils/format_source_files/format_source_files.sh @@ -3,12 +3,11 @@ # batch format *.{hpp,cpp} files MAPNIK_DIR=`pwd` -DIRS="$MAPNIK_DIR/plugins $MAPNIK_DIR/demo/c++ $MAPNIK_DIR/src $MAPNIK_DIR/include $MAPNIK_DIR/bindings $MAPNIK_DIR/utils $MAPNIK_DIR/tests" +DIRS="$MAPNIK_DIR/plugins $MAPNIK_DIR/demo/c++ $MAPNIK_DIR/src $MAPNIK_DIR/include $MAPNIK_DIR/bindings $MAPNIK_DIR/utils $MAPNIK_DIR/tests $MAPNIK_DIR/deps/agg" + EMACS="emacs" for file in $(find $DIRS -name '*.cpp' -o -name '*.hpp') do $EMACS -batch $file -l $MAPNIK_DIR/utils/format_source_files/mapnik_format.el -f mapnik-format-function done - -