Skip to main content

Build

The build command allows you to compile your application's source code and generate a PCT4-compatible package.

pct build [--alias <alias>] [-f, --file <path_to_procontel_file>] [-a, --arguments <args>] [--build-arguments <build_args>]

Parameters:
  • -a/--alias: (Optional) The alias or identifier of the application being built. If not specified, all applications defined in the .procontel file will be built.

  • -f/--file: (Optional) Specifies the path to the .procontel configuration file. If not provided, the CLI looks for the file in the current folder.

  • --arguments: (Optional) Allows you to pass custom arguments for application. The arguments given in this parameter have the highest priority.

  • --build-arguments: (Optional) Allows you to pass custom arguments for the build process. The arguments given in this parameter have the highest priority.

Examples:​

  1. Build a single application:

    pct build --alias basic-app

  2. Build all applications from a file:

    pct build