@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2022-12-23T18:57:19.211Z") @Stability(value=Experimental) public interface ICommandHooks extends software.amazon.jsii.JsiiSerializable
These commands will run in the environment in which bundling occurs: inside the container for Docker bundling or on the host OS for local bundling.
Commands are chained with &&.
{
// Run tests prior to bundling
beforeBundling(inputDir: string, outputDir: string): string[] {
return [`pytest`];
}
// ...
}
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ICommandHooks.Jsii$Default
Internal default implementation for
ICommandHooks. |
static class |
ICommandHooks.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
afterBundling(String inputDir,
String outputDir)
(experimental) Returns commands to run after bundling.
|
List<String> |
beforeBundling(String inputDir,
String outputDir)
(experimental) Returns commands to run before bundling.
|
@Stability(value=Experimental) @NotNull List<String> afterBundling(@NotNull String inputDir, @NotNull String outputDir)
Commands are chained with &&.
inputDir - This parameter is required.outputDir - This parameter is required.@Stability(value=Experimental) @NotNull List<String> beforeBundling(@NotNull String inputDir, @NotNull String outputDir)
Commands are chained with &&.
inputDir - This parameter is required.outputDir - This parameter is required.Copyright © 2022. All rights reserved.