https://github.com/johnsundell/marathon-examples
A collection of example Swift scripts that can easily be run using Marathon
https://github.com/johnsundell/marathon-examples
marathon scripting swift
Last synced: 7 months ago
JSON representation
A collection of example Swift scripts that can easily be run using Marathon
- Host: GitHub
- URL: https://github.com/johnsundell/marathon-examples
- Owner: JohnSundell
- License: mit
- Created: 2017-03-13T18:22:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-01T09:44:51.000Z (about 7 years ago)
- Last Synced: 2025-03-18T05:34:58.100Z (7 months ago)
- Topics: marathon, scripting, swift
- Language: Swift
- Size: 15.6 KB
- Stars: 55
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🏃 Marathon Examples
This repository contains a few example Swift scripts that can easily be run using **[Marathon](https://github.com/johnsundell/marathon)**.
To run them, make sure that you have Marathon installed, then follow the instructions in each script's `README`.
Please note that the scripts in this repo is mainly provided for reference & inspiration 🙂
For more information about Marathon and how to install it, **[visit its repository](https://github.com/johnsundell/marathon)**.
## List of examples
**[AddSuffix](https://github.com/JohnSundell/Marathon-Examples/tree/master/AddSuffix)**
Add a suffix to the names of all files in a folder.
**[GenerateAssetCatalog](https://github.com/JohnSundell/Marathon-Examples/tree/master/GenerateAssetCatalog)**
Generate an Xcode asset catalog from all the images in the current folder.
**[ImageResize](https://github.com/JohnSundell/Marathon-Examples/tree/master/ImageResize)**
Resize an image to a new size.
**[Organize](https://github.com/JohnSundell/Marathon-Examples/tree/master/Organize)**
Organize all files in a folder.
**[Selenops](https://github.com/JohnSundell/Marathon-Examples/tree/master/Selenops)**
A simple Swift Web Crawler.
**[VerifyAsserts](https://github.com/JohnSundell/Marathon-Examples/tree/master/VerifyAsserts)**
Verify that all your tests contain at least one assert.
## Contribute your own examples
Have an example of a Swift script that you'd like to share? Feel free to [open a PR](https://github.com/JohnSundell/Marathon-Examples/pull/new/master)!
## For more information
- Check out [Marathon](https://github.com/johnsundell/marathon).
- Contact [@johnsundell on Twitter](https://twitter.com/johnsundell).
Happy scripting! 🚀