Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
c973ee1445
5 changed files with 35 additions and 90 deletions
|
@ -87,6 +87,7 @@ subcommands = [
|
|||
'qmk.cli.userspace.compile',
|
||||
'qmk.cli.userspace.doctor',
|
||||
'qmk.cli.userspace.list',
|
||||
'qmk.cli.userspace.path',
|
||||
'qmk.cli.userspace.remove',
|
||||
'qmk.cli.via2json',
|
||||
]
|
||||
|
|
8
lib/python/qmk/cli/userspace/path.py
Executable file
8
lib/python/qmk/cli/userspace/path.py
Executable file
|
@ -0,0 +1,8 @@
|
|||
from milc import cli
|
||||
from qmk.constants import QMK_USERSPACE
|
||||
|
||||
|
||||
@cli.subcommand('Detected path to QMK Userspace.', hidden=True)
|
||||
def userspace_path(cli):
|
||||
print(QMK_USERSPACE)
|
||||
return
|
|
@ -249,7 +249,7 @@ def test_c2json_nocpp_stdin():
|
|||
def test_clean():
|
||||
result = check_subcommand('clean', '-a')
|
||||
check_returncode(result)
|
||||
assert result.stdout.count('done') == 2
|
||||
assert (result.stdout.count('done') == 2 and 'userspace' not in result.stdout) or (result.stdout.count('done') == 3 and 'userspace' in result.stdout)
|
||||
|
||||
|
||||
def test_generate_api():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue