WithBuildScript
Method
func (JavaScriptAppResource) WithBuildScript( scriptName string, options ...*WithBuildScriptOptions,) JavaScriptAppResourceSignature
method
WithBuildScript builderAdds a build script annotation to the resource builder using the specified command-line arguments.
WithBuildScript( scriptName string, options ...*WithBuildScriptOptions,) JavaScriptAppResourceParameters
scriptName stringThe name of the script to be executed when the resource is built.options...*WithBuildScriptOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithBuildScriptOptions argument.
Args[]string An array of command-line arguments to use for the build script.Returns
JavaScriptAppResource The same resource builder instance with the build script annotation applied.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: