kfix / MacPin

a webapp container & site specific browser made from WebKit.swift and JavaScriptCore
GNU General Public License v3.0
331 stars 27 forks source link

Use SwiftPM to build binaries #38

Closed kfix closed 2 years ago

kfix commented 2 years ago

fixes #24

SPM doesn't enable comprehensive app-packaging yet so am still keeping all the Makefile machinery for generating the various per-site app bundles.

SPM does let us remove all the eXcode.mk targets that mapped all the source files to swiftc calls, which simplifies the *.app targets in the Makefile and lets SPM handle interface changes from toolchain updates (see the versioning in the Package.swift files)

SPM can also be used by others to pull in MacPin for their own projects and to export a basic .xcodeproject (swift package generate-xcodeproj)

SPM also lets MacPin pull in other packages - we could devendor LineNoise after this.