- To update the functionality, modify the necessary sources in the
srcdirectory - Run
generate-piranha-artifact.sh(orgenerate-dylib.sh, if thellvmsources are already downloaded) - Run tests by executing
test.shand ensuring there are no changes in the refactorings
- Run
piranha-objc.shwith the appropriate parameters (file, flagname, type). -- UpdateXcodeSDKpath appropriately - See the examples in
testsdirectory 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.