- "worker":
- {
- "type": "engine-command",
- "version": 1,
- "program": "mb2"
- },
-
- "commands":
- [
- {
- "name": "deploy",
- "trSynopsis": "{--pkcon|--rsync|--sdk|--zypper|--manual} [--all] [--debug] [--] [[+|-]<pattern>...]",
- "trBrief": "Deploy to a device",
- "configOptions": ["device!", "output-dir", "output-prefix", "target!", "[no-]task"],
- "trDescription": "Deploy build results to the configured device (see the 'device' configuration option).\n\nBy default, just the build results of the project under current working directory will be deployed. When a shared output directory is used (see 'output-dir' and 'output-prefix' configuration options), the option '--all' can be used to require deployment of all packages, no matter of their origin. The '--all' option is not available when the '--rsync' method is used.\n\nSelection of (sub)packages for deployment can be influenced with glob <pattern>s, each of which may be preceded with '+' or '-' to opt for either inclusion (default) or exclusion respectively as the desired effect. Later specified patterns may override earlier ones. Extended, Bash-compatible patterns are allowed. The '-*-debug@(info|source)' pattern is implied unless the '--debug' option is used. (Note: '--debug' is not needed for successfull debugging with the 'debug' command as that command uses the local debug information.) Options must precede patterns if any.\n\nThe following deployment methods are available, corresponding to the mandatory option:\n\n--pkcon\n Uses 'pkcon' to install RPM package(s). Does not require root access to the device. Not all device operating system versions and configurations permit use of this method.\n\n--rsync\n This method is special. Uses 'rsync' to copy the installed files under '/opt/sdk/<name>' without building/installing RPM package(s). Does not require root access to the device. Incompatible with '--all'.\n\n--sdk\n Uses the method native to the SDK to install RPM package(s). Requires developer mode enabled on the device, does not require root access.\n\n--zypper\n Uses 'zypper' to install RPM package(s). Requires 'zypper' installed on the device, requires root access to the device.\n\n--manual\n Only transfers the RPM package(s) to the device for manual installation. Uses '~/RPMS' as the target directory on the device."
- },
- {
- "name": "undeploy",
- "trSynopsis": "{--pkcon|--rpm|--rsync|--zypper} [--all] [-n|--dry-run] [--] [[+|-]<pattern>...]",
- "trBrief": "Undeploy from a device",
- "configOptions": ["device!"],