From a62d2a9f06d97b5b6835b63ec0a11195cdae00b3 Mon Sep 17 00:00:00 2001 From: Ian Katz Date: Mon, 30 Nov 2020 09:32:48 -0500 Subject: [PATCH] Let arduino-cli decide library specification --- lib/arduino_ci/cpp_library.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/arduino_ci/cpp_library.rb b/lib/arduino_ci/cpp_library.rb index 2d481f1b..0d3fe0f9 100644 --- a/lib/arduino_ci/cpp_library.rb +++ b/lib/arduino_ci/cpp_library.rb @@ -164,10 +164,7 @@ def exclude_dirs=(rval) # but we rely on the cli to decide for us # @return [bool] def one_point_five? - return false unless library_properties? - - src_dir = path + "src" - src_dir.exist? && src_dir.directory? + !info["library"]["is_legacy"] end # Guess whether a file is part of the vendor bundle (indicating we should ignore it).