gulp-dotnet-cli
Version:
A dotnet command line interface for gulp
12 lines (9 loc) • 407 B
text/typescript
import * as stream from "stream";
import testArgBuilder from "./builders/testArgBuilder";
import { ITestModel } from "./schema/interfaces/ITestModel";
import shelly from "./shelly";
export default (options?: ITestModel) => {
options = options || {};
const calculatedArgs = testArgBuilder(options);
return shelly("dotnet", "test", calculatedArgs, options.echo || false) as stream.Transform;
};