[swift-corelibs-dev] How to compile a single swift file from commandline

Ryan Lovelett swift-dev at ryan.lovelett.me
Mon May 2 14:43:39 CDT 2016


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 at swift.org
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
 
I usually do: swift hello.swift -o hello-executable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20160502/455db87d/attachment.html>


More information about the swift-corelibs-dev mailing list