Integrate sc-meta to gather local dependencies (instead of using cargo metadata). Also include dependency depth information (provided by this tool) in *.source.json.
Include tests, as well, in the bundled source code. Mark test files with an attribute: isTestFile.
Export buildOptions and buildMetadata in *.source.json and artifacts.json.
Ensure output folder is empty prior starting a build.
Cleanup: do not generate the ZIP archive, the WAT file, the imports.json file anymore (not necessary)
Allow build-root as a CLI argument - the path where the build will take place in the container (the legacy path is kept as default, to avoid unexpected changes at this moment)
Remove a set of tests (and the related test data) that were complex to set-up (and thus rarely ran). Integration tests (that directly use the Docker image) are much more valuable. Unit tests will be added separately.
Related PR: https://github.com/multiversx/mx-sdk-rs/pull/958.
sc-meta
to gather local dependencies (instead of usingcargo metadata
). Also include dependency depth information (provided by this tool) in*.source.json
.isTestFile
.buildOptions
andbuildMetadata
in*.source.json
andartifacts.json
.imports.json
file anymore (not necessary)build-root
as a CLI argument - the path where the build will take place in the container (the legacy path is kept as default, to avoid unexpected changes at this moment)*.source.json
files, add versioning.