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

Easier ways to exclude CompilerAPIs from ape compile command #2259

Open
antazoey opened this issue Aug 30, 2024 · 1 comment
Open

Easier ways to exclude CompilerAPIs from ape compile command #2259

antazoey opened this issue Aug 30, 2024 · 1 comment
Labels
category: feature New feature or request

Comments

@antazoey
Copy link
Member

Overview

right now to compile only vyper contracts, i do this:

ape compile contracts/*.vy

but that approach is a bit limited.

Specification

Have it automatically work w/o full path:

# only compile .vy contracts
ape compile *.vy

idea: --exclude-compiler flag?

ape compile --exclude-compiler solidity

exclude_compiler config:

compile:
  exclude_compiler:
    - solidity

basically i dont want to uninstall ape-solidity but i dont want to compile solidity contracts in some projects.
this may also be nice for some dependencies

Dependencies

Include links to any open issues that must be resolved before this feature can be implemented.

@antazoey antazoey added the category: feature New feature or request label Aug 30, 2024
Copy link

linear bot commented Aug 30, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant