A template for creating command-line iOS apps with test modules
After cloning this repo you should change the name in Package.swift to be the name of your project instead of template. You should also rename the folder that is cloned to match your project name, run rm -rf .git followed by git init to reinitialize the repository from a fresh state.
A script will be created shortly to do this for you.
Package.swift also provides the setup for the targets listed below.
main.swift lives here and is where execution begins.
All other classes should be created here. App has been seperated out for testability.
Testing module to create tests to be run. The sample already imports the App module.
If you wish to run tests whenever one of your Source/App or Tests/AppTests files are modified run bundle exec guard from the terminal in the root directory of the project. You may edit the Guardfile to add additional directories.