Skip to content

Commit b38598d

Browse files
docs: add --path option to build help (#5477)
* docs:show --path option on build help * chore: use dashes Co-authored-by: Igor Randjelovic <[email protected]>
1 parent 27c2f0c commit b38598d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/man_pages/project/testing/build-android.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ General | `$ tns build android [--compileSdk <API Level>] [--key-store-path <Fil
3535
* `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
3636
* `--aab` - Specifies that the build will produce an Android App Bundle(`.aab`) file.
3737
* `--force` - If set, skips the application compatibility checks and forces `npm i` to ensure all dependencies are installed. Otherwise, the command will check the application compatibility with the current CLI version and could fail requiring `tns migrate`.
38+
* `--path <Directory>` - Specifies the directory that contains the project. If not set, the project is searched for in the current directory and all directories above it.
3839

3940
<% if(isHtml) { %>
4041

@@ -58,4 +59,4 @@ Command | Description
5859
[test init](test-init.html) | Configures your project for unit testing with a selected framework.
5960
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
6061
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
61-
<% } %>
62+
<% } %>

docs/man_pages/project/testing/build-ios.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ General | `$ tns build ios [--for-device] [--release] [--copy-to <File Path>] [-
3434
* `--env.sourceMap` - creates inline source maps.
3535
* `--env.hiddenSourceMap` - creates sources maps in the root folder (useful for Crashlytics usage with bundled app in release).
3636
* `--force` - If set, skips the application compatibility checks and forces `npm i` to ensure all dependencies are installed. Otherwise, the command will check the application compatibility with the current CLI version and could fail requiring `tns migrate`.
37+
* `--path <Directory>` - Specifies the directory that contains the project. If not set, the project is searched for in the current directory and all directories above it.
3738

3839
<% } %>
3940

@@ -61,4 +62,4 @@ Command | Description
6162
[test init](test-init.html) | Configures your project for unit testing with a selected framework.
6263
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
6364
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
64-
<% } %>
65+
<% } %>

0 commit comments

Comments
 (0)