Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix commands test generator for Xcode 12.5+
Resolves: #87 - As of Xcode 12.5 using `swift run xcdiff` along with the `-v` (verbose) option produces additional unwanted output - This is caused by `-v` now also being an option the `swift` command respect to produce verbose output - To mitigate this, we no longer invoke `xcdiff` via `swift run xcdiff`, but instead we invoke the binary directly via `$(swift build --show-bin-path)/xcdiff` after it has been built Test Plan: - Run `make regenerate_command_snapshots` - Verify it works when using Xcode12.5+ Signed-off-by: Kassem Wridan <kwridan@bloomberg.net>
- Loading branch information