This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Yarn.
Summary
execute 'yarn run' with arguments
- Assembly
- Cake
.Yarn .dll - Namespace
- Cake
.Yarn - Containing Type
- YarnRunner
Syntax
public IYarnRunnerCommands RunScript(string scriptName, Action<YarnRunSettings> configure = null)
Examples
Run 'yarn run hello'
Task("Yarn-Run")
.Does(() =>
{
Yarn.RunScript("hello");
});
Parameters
Name | Type | Description |
---|---|---|
scriptName | string | name of the script to run |
configure | Action |
Return Value
Type | Description |
---|---|
IYarnRunnerCommands |