Exclude "test*" folder by default from build process

This commit is contained in:
Ivan Kravets
2016-01-26 13:02:33 +02:00
parent 9db5a7e004
commit 34d5358eaa
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,7 @@ PlatformIO 2.0
(`issue #465 <https://github.com/platformio/platformio/issues/465>`_)
* Set 1Mb SPIFFS for Espressif boards by default
(`issue #458 <https://github.com/platformio/platformio/issues/458>`_)
* Exclude ``test*`` folder by default from build process
* Fixed builder for mbed framework and ST STM32 platform

View File

@ -27,7 +27,8 @@ from platformio.util import pioversion_to_intstr
SRC_BUILD_EXT = ["c", "cpp", "S", "spp", "SPP", "sx", "s", "asm", "ASM"]
SRC_HEADER_EXT = ["h", "hpp"]
SRC_DEFAULT_FILTER = " ".join([
"+<*>", "-<.git%s>" % sep, "-<svn%s>" % sep, "-<example*%s>" % sep
"+<*>", "-<.git%s>" % sep, "-<svn%s>" % sep, "-<example*%s>" % sep,
"-<test*%s>" % sep
])