Skip to content

Add option to ExecTask to display build output #7

@frankkopp

Description

@frankkopp

To make debugging of build script running in the igniter context and on github actions easier I propose adding an option to the ExecTask class which allows the build to show the output of this involved scripts.

This would usually only be used temporary and the general build should not have any additional noise once it works.

Example:
new ExecTask('efb-translation', 'npm run build:efb-translation', true),

declare class GenericTask implements Task {
    key: string;
    private executor;
    private hashFolders;
    protected context: Context;
    protected errorOutput: string;
    protected showLogOutput: boolean;
    status: TaskStatus;

    /**
     * @param key The key of this generic task.
     * @param executor The TaskRunner used to run this task.
     * @param hashFolders Folders used to create caching hash.
     */
    constructor(key: string, executor: TaskRunner, showLogOutput?, hashFolders?: string[]);

...

Discord: Cdr_Maverick#6475

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions