Repository has been created to create examples for blogposts on https://swiftyfriday.com
- Install Mint using installation guide
- Install project dependencies using command (run in main project directory):
mint bootstrap
- Open project and install SPM dependencies.
To run all below scripts use sh generate_mocks.sh
script.
Sourcery has been configured to generate repetitive code.
You can find sourcery configuration in file .sourcery.yml
and sourcery Templates in BlogExamplesTests/Sourcery/Templates/
directory.
SwiftFormat is being used to ensure code consistency in the project. It will automatically format all project code after running the script.
Configuration of the SwiftFormat can be found in .swiftformat
file.