Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Oct 29, 2020

Conversation

ascjones
Copy link
Collaborator

@ascjones ascjones commented Oct 29, 2020

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
Copy link
Collaborator

@cmichi cmichi left a comment

Choose a reason for hiding this comment

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

Great, thx!

src/main.rs Outdated Show resolved Hide resolved
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