Skip to content
This repository has been archived by the owner on Jan 4, 2020. It is now read-only.

Specify deployment target in Marathonfile #116

Open
kaandedeoglu opened this issue Aug 16, 2017 · 1 comment
Open

Specify deployment target in Marathonfile #116

kaandedeoglu opened this issue Aug 16, 2017 · 1 comment

Comments

@kaandedeoglu
Copy link

I get the following error, because of my usage of hasDirectoryPath which only available on OS X 10.11+:

馃弮  Compiling script...
馃挜  Failed to compile script
馃憠  The following error(s) occured:
   - 124:18: 'hasDirectoryPath' is only available on OS X 10.11 or newer
   - 124:18: note: add 'if #available' version check

Is there anyway I can set the deployment target to OS X 10.11+ through Marathonfile?

@JohnSundell
Copy link
Owner

It's not possible yet. Perhaps we can add another comment syntax for this, just like how you can specify dependency URLs inline using // marathon:<url>. This also has the added benefit of working the same was as how you can specify as Swift tools version when using the Swift Package Manager (using // swift-tools-version:4.0).

Perhaps adding support for a syntax like // marathon: min-macos-version: 10.11? What do you think @kaandedeoglu?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants