idf-build-apps 2.4.2__py3-none-any.whl → 2.4.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- idf_build_apps/__init__.py +1 -1
- idf_build_apps/main.py +11 -9
- {idf_build_apps-2.4.2.dist-info → idf_build_apps-2.4.3.dist-info}/METADATA +1 -1
- {idf_build_apps-2.4.2.dist-info → idf_build_apps-2.4.3.dist-info}/RECORD +7 -7
- {idf_build_apps-2.4.2.dist-info → idf_build_apps-2.4.3.dist-info}/LICENSE +0 -0
- {idf_build_apps-2.4.2.dist-info → idf_build_apps-2.4.3.dist-info}/WHEEL +0 -0
- {idf_build_apps-2.4.2.dist-info → idf_build_apps-2.4.3.dist-info}/entry_points.txt +0 -0
idf_build_apps/__init__.py
CHANGED
idf_build_apps/main.py
CHANGED
|
@@ -458,8 +458,12 @@ def get_parser() -> argparse.ArgumentParser:
|
|
|
458
458
|
help='Path to the default configuration file, toml file',
|
|
459
459
|
)
|
|
460
460
|
|
|
461
|
-
common_args.add_argument(
|
|
462
|
-
|
|
461
|
+
common_args.add_argument(
|
|
462
|
+
'-p', '--paths', nargs='*', help='One or more paths to look for apps. By default build the current directory.'
|
|
463
|
+
)
|
|
464
|
+
common_args.add_argument(
|
|
465
|
+
'-t', '--target', default='all', help='filter apps by given target. By default build all supported targets.'
|
|
466
|
+
)
|
|
463
467
|
common_args.add_argument(
|
|
464
468
|
'--build-system', default='cmake', choices=['cmake', 'make'], help='filter apps by given build system'
|
|
465
469
|
)
|
|
@@ -759,15 +763,13 @@ def validate_args(parser: argparse.ArgumentParser, args: argparse.Namespace) ->
|
|
|
759
763
|
raise InvalidCommand('subcommand is required. {find, build, completions}')
|
|
760
764
|
|
|
761
765
|
if not args.paths:
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
766
|
+
cur_dir = os.getcwd()
|
|
767
|
+
LOGGER.debug(f'--paths is missing. Set --path as current directory "{cur_dir}".')
|
|
768
|
+
args.paths = [cur_dir]
|
|
765
769
|
|
|
766
770
|
if not args.target:
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
'(choices: [{}]'.format(','.join([*ALL_TARGETS, 'all']))
|
|
770
|
-
)
|
|
771
|
+
LOGGER.debug('--target is missing. Set --target as "all".')
|
|
772
|
+
args.target = 'all'
|
|
771
773
|
|
|
772
774
|
default_build_targets = []
|
|
773
775
|
if args.default_build_targets:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
idf_build_apps/__init__.py,sha256=
|
|
1
|
+
idf_build_apps/__init__.py,sha256=f_NYZ6u3CevDB7l3_nWGaHJRQ0GfuVDJSl8LcgjCDCw,650
|
|
2
2
|
idf_build_apps/__main__.py,sha256=8E-5xHm2MlRun0L88XJleNh5U50dpE0Q1nK5KqomA7I,182
|
|
3
3
|
idf_build_apps/app.py,sha256=q9udvZyBG3qWrNxlyuG3iTiLcayOSrSwRuyL2n7QALY,37002
|
|
4
4
|
idf_build_apps/autocompletions.py,sha256=g-bx0pzXoFKI0VQqftkHyGVWN6MLjuFOdozeuAf45yo,2138
|
|
@@ -7,7 +7,7 @@ idf_build_apps/config.py,sha256=I75uOQGarCWVKGi16ZYpo0qTVU25BUP4eh6-RWCtbvw,2924
|
|
|
7
7
|
idf_build_apps/constants.py,sha256=8Bh99xGFpyLkEovQMglS2KydxoEZesAHQSgdpsUnSTM,4000
|
|
8
8
|
idf_build_apps/finder.py,sha256=2TOQ6fq9q3MtsLnG4o0VvA2aMd3Zb6w6CL-U_tQrT3k,6362
|
|
9
9
|
idf_build_apps/log.py,sha256=JysogBHoompfW9E9w0U4wZH7tt8dBdfoh-stPXQz1hw,2573
|
|
10
|
-
idf_build_apps/main.py,sha256=
|
|
10
|
+
idf_build_apps/main.py,sha256=u2MiVuGFL72-43DdwXs2BgRG90MZuxbjfJRsbxP8BSg,39201
|
|
11
11
|
idf_build_apps/session_args.py,sha256=2WDTy40IFAc0KQ57HaeBcYj_k10eUXRKkDOWLrFCaHY,2985
|
|
12
12
|
idf_build_apps/utils.py,sha256=dYxNXPe7FRWxzUFlTzOb3G-LpKpRUrNWdQrsO5MXAB8,9702
|
|
13
13
|
idf_build_apps/junit/__init__.py,sha256=IxvdaS6eSXp7kZxRuXqyZyGxuA_A1nOW1jF1HMi8Gns,231
|
|
@@ -19,8 +19,8 @@ idf_build_apps/manifest/manifest.py,sha256=P5ZaUd72A_HOVF6iuwap__Bw-w7WI72ugiTUR
|
|
|
19
19
|
idf_build_apps/manifest/soc_header.py,sha256=PzJ37xFspt5f0AXWvAFNA_avHZA9fMXHBrwDYLi3qEI,4344
|
|
20
20
|
idf_build_apps/yaml/__init__.py,sha256=W-3z5no07RQ6eYKGyOAPA8Z2CLiMPob8DD91I4URjrA,162
|
|
21
21
|
idf_build_apps/yaml/parser.py,sha256=Y2OyB4g1DCC7C7jrvpIyZV9lgeCB_XvuB75iGmqiTaM,2093
|
|
22
|
-
idf_build_apps-2.4.
|
|
23
|
-
idf_build_apps-2.4.
|
|
24
|
-
idf_build_apps-2.4.
|
|
25
|
-
idf_build_apps-2.4.
|
|
26
|
-
idf_build_apps-2.4.
|
|
22
|
+
idf_build_apps-2.4.3.dist-info/entry_points.txt,sha256=3pVUirUEsb6jsDRikkQWNUt4hqLK2ci1HvW_Vf8b6uE,59
|
|
23
|
+
idf_build_apps-2.4.3.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
24
|
+
idf_build_apps-2.4.3.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
25
|
+
idf_build_apps-2.4.3.dist-info/METADATA,sha256=tfLthnRioC7cNvQ51g1VjXcI5qZ8DxhR00kDh0hn_0Y,4608
|
|
26
|
+
idf_build_apps-2.4.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|