appcenter-cli
Version:
Command line tool for Visual Studio App Center
36 lines (29 loc) • 1.06 kB
text/typescript
import { CommandArgs, help, longName, hasArg } from "../../../util/commandline";
import { EspressoPreparer } from "../lib/espresso-preparer";
import { PrepareTestsCommand } from "../lib/prepare-tests-command";
import { Messages } from "../lib/help-messages";
export default class PrepareEspressoCommand extends PrepareTestsCommand {
buildDir: string;
testApkPath: string;
include: string[];
constructor(args: CommandArgs) {
super(args);
}
protected prepareManifest(): Promise<string> {
const preparer = new EspressoPreparer(this.artifactsDir, this.buildDir, this.testApkPath, this.include);
return preparer.prepare();
}
protected getSourceRootDir() {
return this.buildDir;
}
}