JohnSundell / Marathon

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

build warning #132

Closed MasterSwift closed 7 years ago

MasterSwift commented 7 years ago

warning: '--chdir/-C' option is deprecated; use '--package-path' instead

have you seen this error ? For some reason, its causing marathon to output 💥 Failed to compile script

but it only happens on a linux server I'm using. on a local macOS computer, I get no errors and it builds perfectly. not sure if this is causing the error or something else not being outputted into the CL.

orta commented 7 years ago

This could be that one version is using Swift 3, and the other is using Swift 4: type swift package --version to see which version is on your setup.

MasterSwift commented 7 years ago

it was on swift 3 . I don't have admin rights but somehow with swiftenv (https://github.com/kylef/swiftenv) , i updated it to swift 4. probably thats where the issue is coming

orta commented 7 years ago

Yeah, that will be it.