Skip to content

Specify optional --manifest-path for build and generate-metadata

Sergej Kostjucenko requested to merge aj-manifest-path into master

Created by: ascjones

Allows building contracts/generating metadata from a location outside the working directory.

Usage:

cargo run -- contract build --manifest-path ../ink/examples/erc2/Cargo.toml
cargo run -- contract generate-metadata --manifest-path ../ink/examples/erc20/Cargo.toml    

The --manifest-path flag is so named from the equivalent option in cargo which has the same effect.

Merge request reports