Updating the swift.org examples


(Joel Hughes) #1

Morning all,

I've just upgraded to Swift 3 Preview 6 for Ubuntu and have noticed a few
changes.

First using XCTest: "the name of a test module has no ‘Tests’ suffix" -
easy to follow the error message, good stuff!

And also reading command line args:

Process.arguments

Now available at: ProcessInfo.processInfo().arguments

This one is on the swift.org home page, I'm happy to to make changes and
pull request but not sure if this is how the page is constructed?

Also I couldn't easily locate release notes for the latest changes, where's
a good place to look?

Thanks

Joel


(Daniel Dunbar) #2

Hi Joel,

Thank you for pointing this out!

Morning all,

I've just upgraded to Swift 3 Preview 6 for Ubuntu and have noticed a few changes.

First using XCTest: "the name of a test module has no ‘Tests’ suffix" - easy to follow the error message, good stuff!

And also reading command line args:

Process.arguments

Now available at: ProcessInfo.processInfo().arguments

This one is on the swift.org <http://swift.org/> home page, I'm happy to to make changes and pull request but not sure if this is how the page is constructed?

The sources for the website are not publicly available, so unfortunately no PR is possible. Would you mind filing a bug at bugs.swift.org for this so we can assign someone to fix it?

Also I couldn't easily locate release notes for the latest changes, where's a good place to look?

The CHANGELOGs for each project are one place you can look:
  https://github.com/apple/swift/blob/master/CHANGELOG.md
  https://github.com/apple/swift-package-manager/blob/master/CHANGELOG.md

- Daniel

···

On Aug 18, 2016, at 3:14 AM, Joel Hughes via swift-users <swift-users@swift.org> wrote:

Thanks

Joel
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users