Added .editorconfig file

This commit is contained in:
Andrew Murray 2021-05-16 11:58:25 +10:00
parent 70fb68c093
commit 6a81c1879c
4 changed files with 22 additions and 3 deletions

19
.editorconfig Normal file
View File

@ -0,0 +1,19 @@
# Top-most EditorConfig file
root = true
[*]
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true
charset = utf-8
# Four-space indentation
indent_size = 4
indent_style = space
trim_trailing_whitespace = true
[*.yml]
# Two-space indentation
indent_size = 2
indent_style = space

View File

@ -31,4 +31,4 @@ if [[ $MACOSX_DEPLOYMENT_TARGET != "11.0" ]]; then
echo "::group::Test wheel"
install_run $PLAT
echo "::endgroup::"
fi
fi

View File

@ -63,7 +63,7 @@ function pre_build {
BUILD_PREFIX=$ORIGINAL_BUILD_PREFIX
PKG_CONFIG_PATH=$ORIGINAL_PKG_CONFIG_PATH
fi
# Custom flags to include both multibuild and jpeg defaults
ORIGINAL_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -g -O2"

View File

@ -15,4 +15,4 @@ git checkout $1
cd ..
git commit -m "Pillow -> $1" Pillow
git tag $1
git push origin $1
git push origin $1