Skip to content

Commit

Permalink
Merge pull request #595 from SAP/new_build_options
Browse files Browse the repository at this point in the history
New build options
  • Loading branch information
ShimiT committed Nov 21, 2019
2 parents 8fa86ba + 7c450eb commit 8d540c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ Generates a temporary `Makefile` according to the MTA descriptor and runs the `m
| `--mtar` | Optional | The file name of the generated archive file. If this parameter is omitted, the file name is created according to the following naming convention: <br><br> `<mta_application_ID>_<mta_application_version>.mtar` <br><br> If the parameter is provided, but does not include an extension, the `.mtar` extension is added. | `mbt build -p=cf --mtar=TestProject.mtar`
| `-e (--extensions)` | Optional | The path or paths to multitarget application extension files (.mtaext). Several extension files separated by commas can be passed with a single flag, or each extension file can be specified with its own flag. |`mbt build -e=test1.mtaext,test2.mtaext`<br>or<br>`mbt build -e=test1.mtaext -e=test2.mtaext`
| `--strict` | Optional | The default value is `true`. If set to `true`, the duplicated fields and fields that are not defined in the `mta.yaml` schema are reported as errors. If set to `false`, they are reported as warnings. | `mbt build -p=cf --strict=true`
| BETA &nbsp;&nbsp;`-m (--mode)` | Optional | The possible value is `verbose`. If run with this option, the temporary `Makefile` is generated in a way that allows the parallel execution of `Make` jobs to make the build process faster. | `mbt build -m=verbose`
| BETA &nbsp;&nbsp;`-j (--jobs)` | Optional | Used only with the `--mode` parameter. This option configures the number of `Make` jobs that can run simultaneously. If omitted or if the value is less than or equal to zero, the number of jobs is defined by the number of available CPUs (maximum 8). | `mbt build -m=verbose -j=8`


&nbsp;
Expand Down

0 comments on commit 8d540c7

Please sign in to comment.