# Vapor Example for `rules_spm`

[Vapor](https://github.com/vapor/vapor) is a popular web framework for Swift. It is composed of many
Swift and Clang dependencies. Some of their Clang modules
(e.g. [CBcrypt](https://github.com/vapor/vapor/blob/main/Sources/CBcrypt/include/module.modulemap)) 
have custom module maps. This example exercises the `rules_swift_package_manager` code that processes custom module
maps and handles novel Clang module linking issues.

Also, this example demonstrates how to store the Swift-specific dependency files in a sub-package.


## Linux Prequisites

Be sure to install the folllwing to ensure that all of the prerequisites are satisfied.

```sh
sudo apt install sqlite3 libsqlite3-dev
```
