@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-07-02T00:23:29.728Z") @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 &&.
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 { // Run tests prior to bundling beforeBundling(inputDir, string, outputDir, string);string[];{return asList("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 © 2021. All rights reserved.