Skip to content

JohnSundell/Shapeshift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔶 Shapeshift

Swift Package Manager Marathon compatible Twitter: @johnsundell

Welcome to Shapeshift, a tool that lets you quickly convert a folder of Swift files into an iPad-compatible Playground. It can even place it in Swift Playground's documents folder in your iCloud Drive, so that you can instantly pick up your iPad and start coding! 🚀

Usage

Generate a playground containing all the Swift files in the current directory (and any of its subdirectories). The only argument you have to pass is the name of the playground you wish to generate:

$ shapeshift NameOfYourPlayground

If you are using Shapeshift to be able to quickly move a set of Swift source files to the iPad, pass the -icloud flag to have the generated playground be automatically moved into Swift Playground's documents folder in your iCloud Drive:

$ shapeshift NameOfYourPlayground -icloud

That's it! 🙂

Installation

Shapeshift is a Swift package. To install it, use one of the following methods:

📦 Using the Swift Package Manager

$ git clone https://github.com/JohnSundell/Shapeshift.git
$ cd Shapeshift
$ swift build -c release -Xswiftc -static-stdlib
$ install .build/Release/Shapeshift /usr/local/bin/shapeshift

🏃‍♂️ Using Marathon

$ marathon install johnsundell/shapeshift

If you encounter any issues during installation, please refer to the documentation of the tool that you're using to install Shapeshift.

Contributions

Shapeshift is developed completely in the open, and your contributions are more than welcome.

You might notice that this project does not have GitHub issues enabled. That's because this project uses the same PR-focused workflow as Splash, and other projects. You can read more about that workflow here.

Hope you enjoy Shapeshift! 😀

About

Quickly convert a folder containing Swift files into an iPad-compatible Playground

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages