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

prevent duplicate targets: rename NIOHTTP1Client to NIOSSLHTTP1Client #99

Merged
merged 1 commit into from
Apr 11, 2019

Conversation

weissi
Copy link
Member

@weissi weissi commented Apr 11, 2019

Motivation:

With package editing this problem surfaces:

$ jw-swift-5.0 swift test
error: multiple products named 'NIOHTTP1Client' in: swift-nio, swift-nio-ssl
error: multiple targets named 'NIOHTTP1Client' in: swift-nio, swift-nio-ssl

which is bad. Fortunately, these are executable targets that we can
rename.

Modification:

rename NIOHTTP1Client in swift-nio-ssl to NIOSSLHTTP1Client

Result:

usable with package editing.

Motivation:

With package editing this problem surfaces:

```
$ jw-swift-5.0 swift test
error: multiple products named 'NIOHTTP1Client' in: swift-nio, swift-nio-ssl
error: multiple targets named 'NIOHTTP1Client' in: swift-nio, swift-nio-ssl
```

which is bad. Fortunately, these are executable targets that we can
rename.

Modification:

rename `NIOHTTP1Client` in swift-nio-ssl to `NIOSSLHTTP1Client`

Result:

usable with package editing.
@weissi weissi requested a review from Lukasa April 11, 2019 17:29
@Lukasa Lukasa added the semver/patch No public API change. label Apr 11, 2019
@Lukasa Lukasa added this to the 2.0.2 milestone Apr 11, 2019
@Lukasa Lukasa merged commit f9ac0c3 into apple:master Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants