playgroundbooks / playgroundbook

Tool for Swift Playground books
https://ashfurrow.com/blog/swift-playground-books/
MIT License
259 stars 17 forks source link

Add ability to specify the Swift version #60

Closed rgov closed 6 years ago

rgov commented 6 years ago

I wanted to be able to specify my Swift code is written in Swift 4.0. Unfortunately I have no idea how to build and test this project.

ashfurrow commented 6 years ago

Cool! Yeah I should document how to test locally, but it's not too bad (good job on the unit tests btw). So you need to build the gem first, then install it:

gem build playgroundbook.gemspec
gem install FILE_CREATED_FROM_ABOVE

And then running it locally should work as normal. Let me know how it goes!

rgov commented 6 years ago

Thanks. Yes, the change works, I managed to install it a different way, but I'll use this command from now on.

ashfurrow commented 6 years ago

Awesome, well thanks so much! I'll this released asap.