Skip to content

Commit 6f9bc67

Browse files
committed
Don't look for platform examples if no platforms are requested for building
1 parent c4c1691 commit 6f9bc67

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [Unreleased]
88
### Added
9+
- Checking for (empty) set of platforms to build now precedes the check for examples to build; this avoids assuming that all libraries will have an example and dumping the file set when none are found
910

1011
### Changed
1112

exe/arduino_ci_remote.rb

+5-2
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,11 @@ def display_files(pathname)
263263
end
264264
end
265265

266-
if library_examples.empty?
267-
inform_multiline("Skipping libraries; no examples found in #{installed_library_path}") do
266+
puts "config.platforms_to_build : #{config.platforms_to_build}"
267+
if config.platforms_to_build.empty?
268+
inform("Skipping builds") { "no platforms were requested" }
269+
elsif library_examples.empty?
270+
inform_multiline("Skipping builds; no examples found in #{installed_library_path}") do
268271
display_files(installed_library_path)
269272
end
270273
else

0 commit comments

Comments
 (0)