Skip to content

Commit c8489c9

Browse files
committed
Let arduino-cli decide library specification
1 parent a1139a2 commit c8489c9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: lib/arduino_ci/cpp_library.rb

+1-4
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,7 @@ def exclude_dirs=(rval)
164164
# but we rely on the cli to decide for us
165165
# @return [bool]
166166
def one_point_five?
167-
return false unless library_properties?
168-
169-
src_dir = path + "src"
170-
src_dir.exist? && src_dir.directory?
167+
!info[:is_legacy]
171168
end
172169

173170
# Guess whether a file is part of the vendor bundle (indicating we should ignore it).

0 commit comments

Comments
 (0)