1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 18:07:25 +08:00

Prepare inspect code

This commit is contained in:
miterosan 2018-07-29 20:49:26 +02:00
parent 91ca245c58
commit 6a661d1766

View File

@ -1,3 +1,5 @@
#tool "nuget:?package=JetBrains.ReSharper.CommandLineTools"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS // ARGUMENTS
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
@ -25,7 +27,7 @@ Task("Compile")
Task("Test") Task("Test")
.ContinueOnError() .ContinueOnError()
.DoesForEach(testProjects, testProject => { .DoesForEach(testProjects, testProject => {
DotNetCoreTest(testProject.FullPath, new DotNetCoreTestSettings {3 DotNetCoreTest(testProject.FullPath, new DotNetCoreTestSettings {
Framework = framework, Framework = framework,
Configuration = configuration, Configuration = configuration,
Logger = $"trx;LogFileName={testProject.GetFilename()}.trx", Logger = $"trx;LogFileName={testProject.GetFilename()}.trx",
@ -33,6 +35,11 @@ Task("Test")
}); });
}); });
Task("InspectCode")
.Does(() => {
});
Task("Build") Task("Build")
.IsDependentOn("Compile") .IsDependentOn("Compile")
.IsDependentOn("Test"); .IsDependentOn("Test");