From 939509a848d841735e22fc8fb9cf5f90e3e84f01 Mon Sep 17 00:00:00 2001 From: wixmobile Date: Fri, 12 Jul 2024 09:54:55 +0000 Subject: [PATCH] Publish docs version 20.x --- website/versioned_docs/version-20.x/config/apps.mdx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/website/versioned_docs/version-20.x/config/apps.mdx b/website/versioned_docs/version-20.x/config/apps.mdx index 74767b7f52..f6bb828a5e 100644 --- a/website/versioned_docs/version-20.x/config/apps.mdx +++ b/website/versioned_docs/version-20.x/config/apps.mdx @@ -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" } } } @@ -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