JohnSundell/Marathon

Support Swift 4.2

jordanekay opened this issue · 4 comments

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

Me too :) #181

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'

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

Fixed in #181