Skip to content

Commit

Permalink
fix: update new build name
Browse files Browse the repository at this point in the history
  • Loading branch information
mesqueeb committed Jun 9, 2024
1 parent dfaf741 commit d1c5638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You can check this build file and enable / disable output by toggling `if true;

### Running Unit Tests

`build-xcframework.sh` is a multipurpose build script. It also creates another `fuego_test.xcframework` by merging the `simpleplayers` and `unittestmain` subprojects. While `unittestmain` is intended to be an executable, it's built as a static library where the `main` method is renamed to `run_unit_tests` with the same signature. So any iOS/visionOS/macOS application is able to run Fuego unit tests just by embedding this `fuego_test.xcframework` (in addition to `fuego.xcframework`) and calling the `run_unit_tests` method. An example of such an application is xcode\FuegoTest\FuegoTest.xcodeproj, which represents a simple SwitUI application where tests are started when a button is clicked.
`build-xcframework.sh` is a multipurpose build script. It also creates another `FuegoTest.xcframework` by merging the `simpleplayers` and `unittestmain` subprojects. While `unittestmain` is intended to be an executable, it's built as a static library where the `main` method is renamed to `run_unit_tests` with the same signature. So any iOS/visionOS/macOS application is able to run Fuego unit tests just by embedding this `FuegoTest.xcframework` (in addition to `Fuego.xcframework`) and calling the `run_unit_tests` method. An example of such an application is xcode\FuegoTest\FuegoTest.xcodeproj, which represents a simple SwitUI application where tests are started when a button is clicked.

## Attributions

Expand Down

0 comments on commit d1c5638

Please sign in to comment.