How to compile a single swift file from commandline

Hi everyone,

I am trying to compile a single file in the Foundation, ex: NSString.swift.
How can I do this from command line, I tried looking online for
documentation and was not able to find it.

I'm working on an OSX environment.

Thanks,
Rajeev

I usually do: swift hello.swift -o hello-executable

ยทยทยท

On Sun, May 1, 2016, at 02:32 PM, Rajeev Jeyaraj via swift-corelibs-dev wrote:

Hi everyone,
I am trying to compile a single file in the Foundation, ex:
NSString.swift.
How can I do this from command line, I tried looking online for
documentation and was not able to find it.

I'm working on an OSX environment.
Thanks,
Rajeev
_________________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev