forked from platformio/platformio-core
Merge branch 'hotfix/v3.5.5' into develop
* hotfix/v3.5.5: Fix an issue when "srcFilter" field in "library.json" breaks a library build // Resolve #1735 Fix "test_lib" test
This commit is contained in:
commit
c777b0095d
2 files changed
+4
-9
No files matched your search
@@ -586,15 +586,6 @@ class PlatformIOLibBuilder(LibBuilderBase):
|
||||
def _is_arduino_manifest(self):
|
||||
return isfile(join(self.path, "library.properties"))
|
||||
|
||||
@property
|
||||
def src_dir(self):
|
||||
if all([
|
||||
"srcFilter" in self._manifest.get("build", {})
|
||||
or self.env['SRC_FILTER'], not self._is_arduino_manifest()
|
||||
]):
|
||||
return self.path
|
||||
return LibBuilderBase.src_dir.fget(self)
|
||||
|
||||
@property
|
||||
def src_filter(self):
|
||||
if "srcFilter" in self._manifest.get("build", {}):
|
||||
|
||||
Reference in new issue
Block a user