C# 클래스 Bari.Plugins.PythonScripts.Scripting.ProjectBuildScriptRunner

상속: ScriptRunnerBase, IProjectBuildScriptRunner
파일 보기 프로젝트 열기: vigoo/bari

공개 메소드들

메소드 설명
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