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.Flyway.
Summary
Execute 'flyway validate' with options
- Assembly
- Cake
.Flyway .dll - Namespace
- Cake
.Flyway - Containing Type
- FlywayRunnerAliases
Syntax
public static void FlywayValidate(this ICakeContext context, FlywayValidateSettings settings = null)
Examples
Run 'flyway validate'
Task("Flyway-Validate)
.Does(() =>
{
FlywayValidate();
});
Run 'flyway validate'
Task("Flyway-Validate)
.Does(() =>
{
FlywayValidate(new FlywayValidateSettings
{
Configuration = new FlywayConfiguration
{
OutOfOrder = true
}
}
);
});
Attributes
Type | Description |
---|---|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | |
settings | Flyway |
Return Value
Type | Description |
---|---|
void |