Begin the process of deprecating bin/qmk in favor of the global cli (#12109)
* Begin the process of deprecating bin/qmk in favor of the global cli * Correctly set the qmk bin
This commit is contained in:
parent
7d45b7f269
commit
b0069c5c05
6 changed files with 21 additions and 8 deletions
|
@ -180,6 +180,7 @@ def compile_configurator_json(user_keymap, bootloader=None, parallel=1, **env_va
|
|||
f'VERBOSE={verbose}',
|
||||
f'COLOR={color}',
|
||||
'SILENT=false',
|
||||
'QMK_BIN=qmk',
|
||||
])
|
||||
|
||||
return make_command
|
||||
|
|
|
@ -8,7 +8,7 @@ is_windows = 'windows' in platform.platform().lower()
|
|||
|
||||
|
||||
def check_subcommand(command, *args):
|
||||
cmd = ['bin/qmk', command, *args]
|
||||
cmd = ['qmk', command, *args]
|
||||
result = run(cmd, stdout=PIPE, stderr=STDOUT, universal_newlines=True)
|
||||
return result
|
||||
|
||||
|
@ -17,7 +17,7 @@ def check_subcommand_stdin(file_to_read, command, *args):
|
|||
"""Pipe content of a file to a command and return output.
|
||||
"""
|
||||
with open(file_to_read, encoding='utf-8') as my_file:
|
||||
cmd = ['bin/qmk', command, *args]
|
||||
cmd = ['qmk', command, *args]
|
||||
result = run(cmd, stdin=my_file, stdout=PIPE, stderr=STDOUT, universal_newlines=True)
|
||||
return result
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue