Skip to content

Commit

Permalink
Publish docs version 20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mobile1-internal committed Jul 12, 2024
1 parent 4a442ce commit 939509a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion website/versioned_docs/version-20.x/config/apps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ To work with multiple apps within the same configuration you should be giving ea
"configurations": {
"ios.release": {
"device": "simulator",
"apps": ["driver", "passenger"]
"apps": ["driver", "passenger"],
"build": "scripts/build-both-apps.sh",
"start": "scripts/start-both-apps.sh"
}
}
}
Expand All @@ -91,6 +93,9 @@ await device.launchApp();
// ... run tests ...
```

As shown in the example above, you can override app build and start commands with a single, configuration-scoped one.
This may be useful when you have smart scripts for building and starting multiple apps at once.

[`detox build`]: ../cli/build.md
[`detox start`]: ../cli/start.md
[`detox test`]: ../cli/test.md

0 comments on commit 939509a

Please sign in to comment.