Exemplo n.º 1
0
        async Task CloneWord2VecNetRepo(string outputDir, ITestOutputHelper output)
        {
            // If the repo already exists, we delete it and extract it again.
            string word2VecNetRepoRootDir = GetWord2VecNetRepoRootDir(outputDir);

            FileTasks.DeleteDirectory(word2VecNetRepoRootDir, output);

            await GitTasks.Clone(Word2VecNetRepoUrl, word2VecNetRepoRootDir, output);

            await GitTasks.Checkout(Word2VecNetCommitSha1Id, output, word2VecNetRepoRootDir);
        }