Skip to content

Files

This branch is 921 commits behind cgrindel/rules_swift_package_manager:main.

vapor_example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 30, 2022
Jan 1, 2023
Apr 1, 2023
Dec 30, 2022
Apr 1, 2023
Apr 1, 2023
Apr 1, 2023
Apr 1, 2023
Mar 22, 2023
Dec 22, 2022
Apr 1, 2023

Vapor Example for rules_spm

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) 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.

sudo apt install sqlite3 libsqlite3-dev