mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The --dump-config option prints a recursive JSON dump of the BuildScriptInvocation object’s properties, which gives access to essentially all of the knowledge build-script has about the build before it starts performing it. This makes the output more flexible and extensible without severely convoluting the implementation, but doesn’t really give us a stable representation of that data.
build_swift
The build_swift module contains data-structures and functions used by
the Swift build-script.
Unit Tests
You may run the unit test suite using the command:
$ python -m unittest discover -s utils/build_swift/ -t utils/