mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix(test_idf_py): Added extension API version into test extensions files
This commit is contained in:
@@ -8,6 +8,7 @@ def action_extensions(base_actions, project_path):
|
|||||||
print(f'!!! From some global callback: {global_args.some_extension_option}')
|
print(f'!!! From some global callback: {global_args.some_extension_option}')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
'version': '1.0.0',
|
||||||
'global_options': [
|
'global_options': [
|
||||||
{
|
{
|
||||||
'names': ['--some-extension-option'],
|
'names': ['--some-extension-option'],
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ def action_extensions(base_actions, project_path=None):
|
|||||||
|
|
||||||
# Add global options
|
# Add global options
|
||||||
extensions = {
|
extensions = {
|
||||||
|
'version': '1.0.0',
|
||||||
'global_options': [
|
'global_options': [
|
||||||
{'names': ['--test-0'], 'help': 'Non-deprecated option.', 'deprecated': False},
|
{'names': ['--test-0'], 'help': 'Non-deprecated option.', 'deprecated': False},
|
||||||
{'names': ['--test-1'], 'help': 'Deprecated option 1.', 'deprecated': True},
|
{'names': ['--test-1'], 'help': 'Deprecated option 1.', 'deprecated': True},
|
||||||
|
|||||||
Reference in New Issue
Block a user