Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored XcodeServerConfig #32

Merged
merged 7 commits into from
Jun 24, 2015
Merged

Conversation

esttorhe
Copy link
Member

Fix #28 (?)

As suggested by @czechboy0 here's a PR with the new «throwable» init approach using some guards and a custom error enum.

Done:

  • «Extended» JSONSerializable to throw on init
  • Implemented «throwable» inits on XcodeServerConfig
  • Generated custom ErrorType
  • Added FUGLY code to silence complier on «throwable» init

This was referenced Jun 24, 2015
@@ -29,7 +29,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3A7B48C41B2A5AC40077ABEA"
BuildableName = "XcodeServerSDK - OS X Tests.xctest"
BuildableName = "XcodeServerSDKTest.xctest"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting my Xcode also trying to rename the buildable names of the test targets. Anyone have a clue why? @esttorhe @cojoj

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure you don't have additional schemes?

- Defined custom `ConfigurationErrors`
- Addapted to new `JSONSerializable` throwable init
- Silenced compiler warnings for `throwable` inits.
- Looks like bug on the parser in `Xcode 7 ß 1` is gone on `ß 2`
@esttorhe
Copy link
Member Author

@czechboy0 just forced pushed the branch (I did a rebase from swift-2 branch to include latest changes on the README added this days) with the javadoc change

@czechboy0
Copy link
Member

Awesome, thanks @esttorhe!

czechboy0 pushed a commit that referenced this pull request Jun 24, 2015
Refactored `XcodeServerConfig`
@czechboy0 czechboy0 merged commit c467109 into buildasaurs:swift-2 Jun 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants