mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
packages/cli: check for loadable config before wrapping
This commit is contained in:
parent
11125e525f
commit
5951c8c296
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ def build(
|
|||
rebuild_dependants: bool = False,
|
||||
try_download: bool = False,
|
||||
):
|
||||
config.enforce_config_loaded()
|
||||
enforce_wrap()
|
||||
arch = arch or get_profile_device(hint_or_set_arch=True).arch
|
||||
|
||||
|
@ -202,6 +203,7 @@ def cmd_list():
|
|||
@click.argument('paths', nargs=-1)
|
||||
def cmd_check(paths):
|
||||
"""Check that specified PKGBUILDs are formatted correctly"""
|
||||
config.enforce_config_loaded()
|
||||
check_programs_wrap(['makepkg'])
|
||||
|
||||
def check_quoteworthy(s: str) -> bool:
|
||||
|
|
Loading…
Add table
Reference in a new issue