Interface ExtensionBuilder
-
public interface ExtensionBuilderThis interface allows customizing how extensions are built before running integration tests.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbuild()Build the extension JS file.static ExtensionBuildercreateDefaultNpmBuilder(Path sourceDir, Path builtJsExtension)Create a default builder that builds the extension by executingnpm run build.PathgetExtensionFile()Get the path to the extension JS file.
-
-
-
Method Detail
-
createDefaultNpmBuilder
static ExtensionBuilder createDefaultNpmBuilder(Path sourceDir, Path builtJsExtension)
Create a default builder that builds the extension by executingnpm run build.- Parameters:
sourceDir- source directory containingpackage.jsonand other project filesbuiltJsExtension- path to the built JS extension file- Returns:
- new default extension builder
-
build
void build()
Build the extension JS file.
-
-