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

Add --include-path to everdev #125

Closed
pizza-777 opened this issue Oct 2, 2022 · 1 comment · Fixed by #128
Closed

Add --include-path to everdev #125

pizza-777 opened this issue Oct 2, 2022 · 1 comment · Fixed by #128

Comments

@pizza-777
Copy link
Contributor

pizza-777 commented Oct 2, 2022

Many contracts use interfaces and libraries from broxus and itgold that are provided as npm packages and are stored in the node_modules folder.

A typical import looks like this:

import '@itgold/everscale-tip/contracts/TIP4_1/TIP4_1Nft.sol';

solc has the flag that allows you to compile the contract to add additional directories for import resolution.

Example:

solc Nft.sol --include-path node_modules

It would be very useful to have this flag in everdev too

Example:

everdev sol compile Nft.sol --include-path node_modules

Please, add this flag to everdev.

@elasticLove1
Copy link
Contributor

elasticLove1 commented Oct 12, 2022

@pizza-777 Thank you for this feature request, will support it in the next releases:)

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 a pull request may close this issue.

2 participants