Closed mlocati closed 3 years ago
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅
How is the patch supposed to be run now that composer won't be able to find the patch script when we call
$ composer compile
?
Whoops, I missed that composer script!
BTW, I think that https://github.com/RubixML/Tensor/blob/2.2.0/composer.json#L68-L69 is logically wrong.
zephir build --no-dev
is the same as calling these commands in sequence:
zephir generate
zephir compile --no-dev
zephir install --no-dev
extension-config-patch.php
is meant to patch the result of zephir generate
before the extension gets compiled with zephir compile
So, at the moment (version 2.2.0), we patch config.m4
after it's being used.
I've updated the composer compile
script so that we patch config.m4
before it's being used.
Fix #19