An open API service indexing awesome lists of open source software.

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

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! 🚀