-
-
Notifications
You must be signed in to change notification settings - Fork 466
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
Introduced initial ability to generate zend_module_deps #1900
Conversation
Is it possible to add the extension version? |
@ruudboon Yes, but I would prefer to refrain from this at this stage. I'll think about a better implementation a bit later. |
Codecov Report
@@ Coverage Diff @@
## development #1900 +/- ##
=================================================
- Coverage 33.93% 33.57% -0.36%
- Complexity 8233 8236 +3
=================================================
Files 560 559 -1
Lines 44694 44463 -231
=================================================
- Hits 15166 14930 -236
- Misses 29528 29533 +5
Continue to review full report at Codecov.
|
Looks good. I would definitely prefer to support "conflicts with" values as well, and to be able to list version numbers in both sections. But as a starting point, this is still really helpful! |
Hello!
In raising this pull request, I confirm the following:
Small description of change:
Introduced initial ability to generate
zend_module_deps
by usingrequires
from project configuration (config.json
).To do so, add to your
config.json
configuration like this:With such a config section Zephir will generate C-code similar to follows:
From documentation:
Right now we're going to use the second option.
Thanks