Make new command handling actually somewhat work

This commit is contained in:
Tulir Asokan 2018-12-24 00:31:01 +02:00
parent 682eab348d
commit 5ff5eae3c6
6 changed files with 171 additions and 144 deletions

View file

@ -118,6 +118,8 @@ def upload_plugin(output: Union[str, IO]) -> None:
default=False)
def build(path: str, output: str, upload: bool) -> None:
meta = read_meta(path)
if not meta:
return
if output or not upload:
output = read_output_path(output, meta)
if not output: