@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-10T17:05:56.858Z") @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 [`go test -mod=vendor ./...`];
}
// ...
}
| 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 © 2023. All rights reserved.