apple / swift-async-dns-resolver

A Swift library for asynchronous DNS requests, wrapping c-ares with Swift-friendly APIs and data structures.
Apache License 2.0
82 stars 12 forks source link

Don't add c-ares/CMakeFiles dir to exclusion list if doesn't exist #4

Closed yim-lee closed 2 years ago

yim-lee commented 2 years ago

Motivation: c-ares/CMakeFiles/ doesn't exist unless cmake is run locally. User reports that the exclude line causes SwiftPM warning about invalid exclude.

Modification: Add c-ares/CMakeFiles/ to exclude list iff it exists and is non-empty.

yim-lee commented 2 years ago

@swift-server-bot test this please