Package io.github.cdklabs.projen
Class ProjectBuild
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- io.github.cdklabs.projen.Component
-
- io.github.cdklabs.projen.ProjectBuild
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.792Z") @Stability(Experimental) public class ProjectBuild extends Component
(experimental) Manages a standard build process for all projects.Build spawns these tasks in order:
- default
- pre-compile
- compile
- post-compile
- test
- package
-
-
Constructor Summary
Constructors Modifier Constructor Description ProjectBuild(Project project)protectedProjectBuild(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedProjectBuild(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskgetBuildTask()(experimental) The task responsible for a full release build.TaskgetCompileTask()(experimental) Compiles the code.TaskgetPackageTask()(experimental) The "package" task.TaskgetPostCompileTask()(experimental) Post-compile task.TaskgetPreCompileTask()(experimental) Pre-compile task.TaskgetTestTask()(experimental) Tests the code.-
Methods inherited from class io.github.cdklabs.projen.Component
getProject, isComponent, postSynthesize, preSynthesize, synthesize
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
ProjectBuild
protected ProjectBuild(software.amazon.jsii.JsiiObjectRef objRef)
-
ProjectBuild
protected ProjectBuild(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
ProjectBuild
@Stability(Experimental) public ProjectBuild(@NotNull Project project)- Parameters:
project- This parameter is required.
-
-
Method Detail
-
getBuildTask
@Stability(Experimental) @NotNull public Task getBuildTask()
(experimental) The task responsible for a full release build.
-
getCompileTask
@Stability(Experimental) @NotNull public Task getCompileTask()
(experimental) Compiles the code.By default for node.js projects this task is empty.
-
getPackageTask
@Stability(Experimental) @NotNull public Task getPackageTask()
(experimental) The "package" task.
-
getPostCompileTask
@Stability(Experimental) @NotNull public Task getPostCompileTask()
(experimental) Post-compile task.
-
getPreCompileTask
@Stability(Experimental) @NotNull public Task getPreCompileTask()
(experimental) Pre-compile task.
-
getTestTask
@Stability(Experimental) @NotNull public Task getTestTask()
(experimental) Tests the code.
-
-