<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Yes, we plan to provide something here.<div class=""><br class=""><div class=""><div><blockquote type="cite" class=""><div class=""><font size="2" face="sans-serif" class="">1) Swift Packages can specify dependencies
on other libraries that are not Swift Packages (such as C libraries). The
Swift Package Manager could then "parse" this metadata, download
and install the corresponding dependencies on the system (e.g. by executing
apt-get or similar commands). This could be part of the Packages.swift
file or a new file for specifying dependencies that are not Swift Packages.</font><br class=""></div></blockquote><div><br class=""></div><div>It couldn’t really be this simple, but we can do something like this.</div><br class=""><blockquote type="cite" class=""><div class=""><font size="2" face="sans-serif" class="">2) Define a naming convention for a
script that, if found inside a Swift Package, is executed by the Swift
Package Manager. This script could contain any set of instructions that
should be executed as part of the installation of the Swift Package, such
as downloading and installing any dependencies that the Swift Package needs.
For instance, such a file could include instructions similar to those found
here: </font><a href="https://gist.github.com/edouard-lopez/503d40a5c1a49cf8ae87" class=""><font size="2" color="blue" face="sans-serif" class="">https://gist.github.com/edouard-lopez/503d40a5c1a49cf8ae87</font></a></div></blockquote><br class=""></div><div>We don’t intend to execute arbitrary scripts.</div><br class=""></div></div></body></html>