multiversx / mx-ide-vscode

💻 VS Code extension for developing MultiversX Smart Contracts - Rust, C and C++.
MIT License
70 stars 36 forks source link

Contract build: fix compatibility with mxpy v8 #80

Closed andreibancioiu closed 10 months ago

andreibancioiu commented 10 months ago

Fix invocation of mxpy contract build:

# before v8
mxpy contract build foobar

vs.

# since v8
mxpy contract build --path foobar

For simplicity, we can break compatibility with mxpy v7 (this should be acceptable in practice).