JohnSundell / Marathon

[DEPRECATED] Marathon makes it easy to write, run and manage your Swift scripts 🏃
MIT License
1.87k stars 78 forks source link

Support Swift 4.2 #178

Closed jordanekay closed 6 years ago

jordanekay commented 6 years ago

I would love to use Marathon run scripts written in Swift 4.2. Thanks!

JohnSundell commented 6 years ago

Me too :) https://github.com/JohnSundell/Marathon/pull/181

ghost commented 6 years ago

I think lack of Swift 4.2 support is the reason I'm getting this output, ¿thoughts @JohnSundell?

$ marathon install johnsundell/playground
🏃  Cloning https://github.com/johnsundell/playground.git...
   Compiling script...
💥  Failed to compile script
👉  The following error(s) occured:
   - 126:33: value of type '[String]' has no member 'compactMap'
JohnSundell commented 6 years ago

@CalQL8ed-K-OS compactMap was introduced in Swift 4.1. Are you sure you're running 4.1?

JohnSundell commented 6 years ago

Fixed in #181