protected override void GenerateBuildScript(Benchmark benchmark, ArtifactsPaths artifactsPaths, IResolver resolver)
        {
            string content = $"call dotnet {DotNetCliBuilder.RestoreCommand}{Environment.NewLine}" +
                             $"call dotnet {DotNetCliBuilder.GetBuildCommand(TargetFrameworkMoniker)}";

            File.WriteAllText(artifactsPaths.BuildScriptFilePath, content);
        }
Esempio n. 2
0
        protected override void GenerateProjectBuildFile(string scriptFilePath, Framework framework)
        {
            var content = $"call dotnet {DotNetCliBuilder.RestoreCommand}{Environment.NewLine}" +
                          $"call dotnet {DotNetCliBuilder.GetBuildCommand(TargetFrameworkMonikerProvider(framework))}";

            File.WriteAllText(scriptFilePath, content);
        }