mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 04:33:27 +02:00
Add namespace to all PlatformIO library references (#2296)
* Remove unnecessary duplication in platformio.ini * Add namespace to all platformio library references * Add cmake-build-* to gitignore They're generated by the CLion add-on for each PlatformIO environment. Listing them all separately seems nonsensical.
This commit is contained in:
@@ -7,6 +7,6 @@ json_ns = cg.esphome_ns.namespace("json")
|
||||
|
||||
@coroutine_with_priority(1.0)
|
||||
async def to_code(config):
|
||||
cg.add_library("ArduinoJson-esphomelib", "5.13.3")
|
||||
cg.add_library("ottowinter/ArduinoJson-esphomelib", "5.13.3")
|
||||
cg.add_define("USE_JSON")
|
||||
cg.add_global(json_ns.using)
|
||||
|
||||
Reference in New Issue
Block a user