> On Dec 16, 2015, at 7:21 AM, @lbutlr via swift-users <[email protected]> 
> wrote:
> 
> On 15 Dec 2015, at 14:12, John Regner <[email protected]> wrote:
>> Check out this talk from Ayaka on just this topic! 
>> https://realm.io/news/swift-scripting/
> 
> Thank you, that looks very promising.
> 
> I didn’t realize the list was set to “reply off list” so a message I thought 
> I posted didn’t go through. Rather than repost it…
> 
> On Dec 15, 2015, at 12:59 PM, David Turnbull <[email protected]> wrote:
>> There's this shebang for OS X:
>> #!/usr/bin/env xcrun swift
> 
> Interesting. I was just messing around with
> 
> #!/usr/bin/swift
> 
> And making some (albeit slow) progress.
> 
> ===
> 
> Is there a reason to use xcrun instead of calling swift directly?

Probably not. You can just call `swift` and it will shim through to the same 
thing as `xcrun swift`.

IIRC, 10.9 didn't have the `swift` shim, but every OS X release since then has.

 - Daniel

> 
> -- 
> 'But you ain't part of it, are you?' said Granny conversationally. 'You
> try, but you always find yourself watchin' yourself watchin' people, eh?
> Never quite believin' anything? Thinkin' the wrong thoughts?'
> 
> _______________________________________________
> swift-users mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to