Skip to content

4.7.1 - Exclude `docc` files from sources to avoid build warnings

Latest
Compare
Choose a tag to compare
@penny-for-vapor penny-for-vapor released this 17 Dec 12:46
3498e60

What's Changed

Exclude docc files from sources to avoid build warnings by @omochi in #102

When using this package as a dependency, the following warning appears during the build process:

warning: 'multipart-kit': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/omochi/<myproject>/.build/checkouts/multipart-kit/Sources/MultipartKit/Docs.docc

This happens because docc files are treated as undefined source files.
This patch explicitly excludes them using the exclude directive, clarifying that they are not source files and preventing the warning from being displayed.

This patch was released by @0xTim

Full Changelog: 4.7.0...4.7.1