From 528bc6e4e2b87aaeb5193ab28cc2ecb1b390019c Mon Sep 17 00:00:00 2001 From: katunin-ng Date: Wed, 20 Nov 2019 17:53:42 +0200 Subject: [PATCH 1/2] verbose and jobs options --- docs/docs/usage.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/usage.md b/docs/docs/usage.md index 6b96e2498..f5cb904e0 100644 --- a/docs/docs/usage.md +++ b/docs/docs/usage.md @@ -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:

`_.mtar`

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`
or
`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 FEATURE   `-m (--mode)` | Optional | The possible value is `verbose`. If run with this option, the temporary `Makefile` is generated in a way that allows parallel `Make` jobs execution for faster build processing. | `mbt build -m=verbose` +| BETA FEATURE   `-j (--jobs)` | Optional | Used only with the `--mode` parameter. This option configures how many jobs `Make` should run simultaneously. If omitted or the value is less or equal to zero, the number of available CPUs (limited to 8) is used. | `mbt build -m=verbose -j=8`   From 7c450ebdaf45a9067082cb9d14986ac293d1037b Mon Sep 17 00:00:00 2001 From: katunin-ng Date: Thu, 21 Nov 2019 09:47:48 +0200 Subject: [PATCH 2/2] verbose and jobs options --- docs/docs/usage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/usage.md b/docs/docs/usage.md index f5cb904e0..987c9779f 100644 --- a/docs/docs/usage.md +++ b/docs/docs/usage.md @@ -59,8 +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:

`_.mtar`

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`
or
`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 FEATURE   `-m (--mode)` | Optional | The possible value is `verbose`. If run with this option, the temporary `Makefile` is generated in a way that allows parallel `Make` jobs execution for faster build processing. | `mbt build -m=verbose` -| BETA FEATURE   `-j (--jobs)` | Optional | Used only with the `--mode` parameter. This option configures how many jobs `Make` should run simultaneously. If omitted or the value is less or equal to zero, the number of available CPUs (limited to 8) is used. | `mbt build -m=verbose -j=8` +| BETA   `-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   `-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`