Skip to content

Compile Output Printer

Outputs file counts, scan results, and errors as JSON to the console.

Usable as a visual report or REST response body for CI/CD integrations (GitHub Actions, k8s CronJobs).

Configuration

To configure the Compile output printer unit, Edit these settings.

Below is the default configuration from: console/config.yaml.

Edit Online

Edit config.yaml Locally

# 🔟❎ 'compile' console configuration
#
# Log stats, including the number of files traversed and as a JSON object to the console or for
# incorporating as part of a REST response to the pipeline's caller.
# To learn more see https://doc.log10x.com/compile/console

# Set the 10x pipeline to 'compile'
tenx: compile

# ============================== Console Options ==============================

print:

  # 'progress' enables/disables reporting of input files scanned to stdout
  progress: true

  # 'scanTypes' controls which components of the compile process emit output to the console.
  scanTypes: 
    - link
    - scan
    - pushToGitHub

Options

Specify the options below to configure the Compile output printer:

Name Description
printScanTypes Scan components to print results for
printProgress Report i/o progress to the console

printScanTypes

Scan components to print results for.

Type Default
List [link, scan, pushToGitHub]

Controls which phases of the 'compile' pipeline emit results to JSON output.

Possible values:

Value Description
sources calculate the number of existing source files
symbols calculate the number of existing symbols files
scan capture symbol values from input files
link merging output symbols files
pushToGitHub pushed symbol files

printProgress

Report i/o progress to the console.

Type Default
Boolean true

Enables/disables reporting of input files scanned to stdout.


This unit is defined in console/unit.yaml.