PlummersSoftwareLLC / NightDriverStrip

NightDriver client for ESP32
https://plummerssoftwarellc.github.io/NightDriverStrip/
GNU General Public License v3.0
1.29k stars 210 forks source link

Make secrets.h more immune to changes from secrets.example.h #574

Closed robertlipe closed 6 months ago

robertlipe commented 6 months ago

When new fields are added in the example file, add a test in the file that uses the real file to be sure the fields are present. This is to solve the case where a developer has a checked-out, working tree with a working secrets.h, syncs to head or another branch that adds fields in secrets, and then incurs weird compilation errors when those new fields aren't found.

This change leads the developer to the correct file and the doc describing it for a better experience.

Description

As discussed in #572.

Contributing requirements