Skip to content

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

Merged
ascjones merged 4 commits into
masterfrom
aj-manifest-path
Oct 29, 2020
Merged

Specify optional --manifest-path for build and generate-metadata#93
ascjones merged 4 commits into
masterfrom
aj-manifest-path

Conversation

@ascjones

@ascjones ascjones commented Oct 29, 2020

Copy link
Copy Markdown
Collaborator

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.

@ascjones
ascjones requested a review from cmichi October 29, 2020 15:56

@cmichi cmichi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thx!

Comment thread src/main.rs Outdated
Co-authored-by: Michael Müller <michi@parity.io>
@ascjones
ascjones merged commit f377751 into master Oct 29, 2020
@ascjones
ascjones deleted the aj-manifest-path branch October 29, 2020 21:40
@ascjones ascjones mentioned this pull request Nov 9, 2020
@ascjones ascjones mentioned this pull request Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants