mirror of
https://github.com/xtool-org/xtool.git
synced 2026-11-17 05:53:18 +01:00
XPIF
A model of SwiftBuild's Project Interchange Format (PIF).
Commandments
Round tripping is critical
Decoding and re-encoding PIF JSON should preserve fields and values. additionalFields is your friend. Prefer RawRepresentable structs (with static let constants) over String enums.
Easy mutation
Fields should be mutable so they're easy to modify.
License
XPIF adapts parts of swift-build and swift-package-manager, and is licensed under Apache 2.0 with the Runtime Library Exception. See LICENSE.txt.