mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-22 16:35:33 +00:00
Take dev-dependencies into account for publishing order
This commit is contained in:
committed by
Arshia001
parent
265ecc9b12
commit
f90b515e8d
@ -169,6 +169,19 @@ class Publisher:
|
||||
)
|
||||
)
|
||||
)
|
||||
if "dev-dependencies" in toml:
|
||||
acc.update(
|
||||
list(
|
||||
map(
|
||||
lambda dep: dep[1]["package"]
|
||||
if "package" in dep[1]
|
||||
else dep[0],
|
||||
filter(
|
||||
check_local_dep_fn, toml["dev-dependencies"].items()
|
||||
),
|
||||
)
|
||||
)
|
||||
)
|
||||
if "target" in toml:
|
||||
stack.append(toml["target"])
|
||||
for key, value in toml.items():
|
||||
|
Reference in New Issue
Block a user