- To update the functionality, modify the necessary sources in the
src
directory - Run
generate-piranha-artifact.sh
(orgenerate-dylib.sh
, if thellvm
sources are already downloaded) - Run tests by executing
test.sh
and ensuring there are no changes in the refactorings
- Run
piranha-objc.sh
with the appropriate parameters (file, flagname, type). -- UpdateXcodeSDK
path appropriately - See the examples in
tests
directory for the original code and refactored code.
- Refactoring the implementation to accept other APIs
-
Some aspects of the refactoring are based on this blog article
-
A majority of the test cases (as of Nov 11, 2019) are due to Nick Lauer.