All files / types IPlatformIOProject.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24                                               
import type IPlatformIOEnv from "./IPlatformIOEnv";
 
/**
 * What a platformio.ini says about which platform a build is for: its
 * environments, and the `default_envs` a plain `pio run` builds.
 */
interface IPlatformIOProject {
  readonly path: string;
  readonly envs: readonly IPlatformIOEnv[];
  readonly defaultEnvs: readonly string[];
  /**
   * The build machine's variable that added to `defaultEnvs`, and the names
   * only it gave -- a name the file lists too is the file's. Null when no
   * variable is set. A target diagnostic names the variable rather than
   * blaming the file (#1760 second review).
   */
  readonly machineDefaultEnvs: {
    readonly variable: string;
    readonly names: readonly string[];
  } | null;
}
 
export default IPlatformIOProject;