<font size=2 face="sans-serif">Are there any plans to support lifecycle
hooks/scripts in swift package manager ?</font><br><br><font size=2 face="sans-serif">According to the community proposal:</font><br><a href="https://github.com/apple/swift-package-manager/blob/master/Documentation/PackageManagerCommunityProposal.md#support-for-other-build-systems"><font size=2 color=blue face="sans-serif">https://github.com/apple/swift-package-manager/blob/master/Documentation/PackageManagerCommunityProposal.md#support-for-other-build-systems</font></a><font size=2 face="sans-serif"></font><br><br><font size=3 color=#2f2f2f face="HelveticaNeue"><i>We are considering
supporting hooks for the Swift Package Manager to call out to other build
systems, and/or to invoke shell scripts.</i></font><br><br><font size=2 face="sans-serif">This way, swift package manager will
become a build automation tool, similar to npm and maven. npm seems like
the most similar tool to swift package manager. It has "scripts"
property - </font><a href=https://docs.npmjs.com/misc/scripts><font size=2 color=blue face="sans-serif">https://docs.npmjs.com/misc/scripts</font></a><font size=2 face="sans-serif">:</font><br><br><font size=3 color=#2f2f2f face="SourceSansPro-Regular"><i>npm supports
the "scripts" property of the package.json script, for the following
scripts:</i></font><font size=3 face="sans-serif"><i> </i></font><font size=5 color=#2f2f2f face="SourceSansPro-Regular">pre/post
install, pre/post test. etc.</font><br><br><font size=3 color=#2f2f2f face="SourceSansPro-Regular">Using lifecycle
scripts can facilitate build automation of swift projects, for example
it can enable code generation. LinuxMain.swift and allTests fields can
be generated automatically during the build process.</font><br><br><font size=3 color=#2f2f2f face="SourceSansPro-Regular">Before lifecycle
scripts are supported, for build automation swift package manager has to
be used with some build automation tool like make, and the build automation
information is spread between Package.swift and Makefile files.</font><br><br><font size=2 face="sans-serif">Best Regards,<br>Vadim Eisenberg</font><BR>