Skip to content

Commit

Permalink
Add build phases comparator (#38)
Browse files Browse the repository at this point in the history
Partially resolves: #17

**Describe your changes**
Added a new comparator to compare lists of build phases from two projects. The comparison is slightly more complicated to give clear output for most common cases i.e. missing a single build phase in one of the projects, the same build phases but in different order, or different properties in one of the projects.

**Testing performed**
- CI / unit and integration tests
- Copy an existing project, modify list of build phases in the copy, run `xcdiff -p1 <original> -p2 <copy> -g build_phases -v`, make sure all the differences are listed.
  • Loading branch information
marciniwanicki authored Jan 8, 2020
1 parent e000640 commit 02c720d
Show file tree
Hide file tree
Showing 28 changed files with 893 additions and 14 deletions.
1 change: 1 addition & 0 deletions CommandTests/Generated/differences_only.2.42311ee5.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions CommandTests/Generated/list.0.a330395c.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions CommandTests/Generated/p1_p2.2.bac5a245.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions CommandTests/Generated/p1_p2_Project_target.2.961f27cf.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions CommandTests/Generated/p1_p2_console_format.2.9841a8d7.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions CommandTests/Generated/p1_p2_console_format_verbose.2.40a241bd.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

76 changes: 76 additions & 0 deletions CommandTests/Generated/p1_p2_json_format.2.e54c06ce.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

76 changes: 76 additions & 0 deletions CommandTests/Generated/p1_p2_json_format_verbose.2.0e0a3eb6.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions CommandTests/Generated/p1_p2_markdown_format.2.1e09644b.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions CommandTests/Generated/p1_p2_markdown_format_verbose.2.ac528bab.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 02c720d

Please sign in to comment.