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

load_source hook point #584

Merged
merged 1 commit into from May 31, 2020
Merged

load_source hook point #584

merged 1 commit into from May 31, 2020

Conversation

iamdefinitelyahuman
Copy link
Member

What I did

Add a hook to allow modification of sources prior to compiling.

This is a very basic implementation as a proof of concept toward what will eventually be #230 in Brownie 2.0.

Closes #505

How to verify it

I have tested locally. For now not including any test cases - this is an undocumented behavior, and not something I think we should be encouraging the use of in it's current form.

@iamdefinitelyahuman iamdefinitelyahuman merged commit 742095d into master May 31, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the feat-precompile-hook branch May 31, 2020 17:31
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.

Hooks for user-defined actions
1 participant