C# Класс Bari.Plugins.PythonScripts.Scripting.ProjectBuildScriptRunner

Наследование: ScriptRunnerBase, IProjectBuildScriptRunner
Показать файл Открыть проект

Открытые методы

Метод Описание
ProjectBuildScriptRunner ( [ targetRoot, IReferenceBuilderFactory referenceBuilderFactory, IBuildContextFactory buildContextFactory, IUserOutput output, IParameters parameters ) : System
Run ( Project project, IBuildScript buildScript ) : ISet

Executes the given build script on the given project, returning the set of target files the script generated.

The script's global scope has the following predefined variables set: - project refers to the project being built - sourceSet is the project's source set associated with the build script - targetRoot is the root target directory where all the files are generated - targetDir is where the project's output should be built

A special global function get_tool is available which accepts a reference URI and a file name. The same protocols are supported as for references in the suite definition. The function's return value is the absolute path of the given file, where the tool has been deployed.

Описание методов

ProjectBuildScriptRunner() публичный Метод

public ProjectBuildScriptRunner ( [ targetRoot, IReferenceBuilderFactory referenceBuilderFactory, IBuildContextFactory buildContextFactory, IUserOutput output, IParameters parameters ) : System
targetRoot [
referenceBuilderFactory IReferenceBuilderFactory
buildContextFactory IBuildContextFactory
output IUserOutput
parameters IParameters
Результат System

Run() публичный Метод

Executes the given build script on the given project, returning the set of target files the script generated.

The script's global scope has the following predefined variables set: - project refers to the project being built - sourceSet is the project's source set associated with the build script - targetRoot is the root target directory where all the files are generated - targetDir is where the project's output should be built

A special global function get_tool is available which accepts a reference URI and a file name. The same protocols are supported as for references in the suite definition. The function's return value is the absolute path of the given file, where the tool has been deployed.

public Run ( Project project, IBuildScript buildScript ) : ISet
project Project The input project to build
buildScript IBuildScript The build script to execute
Результат ISet