forked from platformio/platformio-core
Replace "idedata" target with "pio project metadata" command
This commit is contained in:
1 parent
0fe6bf262e
commit
0da1a38df5
3 files changed
+6
-3
No files matched your search
@@ -229,7 +229,10 @@ if env.IsIntegrationDump():
|
||||
encoding="utf8",
|
||||
) as fp:
|
||||
json.dump(data, fp)
|
||||
click.echo("\n%s\n" % json.dumps(data)) # pylint: disable=undefined-variable
|
||||
click.echo(
|
||||
"Data has been saved to the following location %s"
|
||||
% projenv.subst(os.path.join("$BUILD_DIR", "idedata.json"))
|
||||
)
|
||||
env.Exit(0)
|
||||
|
||||
if "sizedata" in COMMAND_LINE_TARGETS:
|
||||
|
||||
@@ -23,7 +23,7 @@ from platformio.proc import exec_command, where_is_program
|
||||
|
||||
|
||||
def IsIntegrationDump(_):
|
||||
return set(["__idedata", "idedata"]) & set(COMMAND_LINE_TARGETS)
|
||||
return "__idedata" in COMMAND_LINE_TARGETS
|
||||
|
||||
|
||||
def DumpIntegrationIncludes(env):
|
||||
|
||||
Reference in new issue
Block a user