mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
build stuff
This commit is contained in:
parent
980d452b7e
commit
b1cf9536df
3 changed files with 47 additions and 18 deletions
23
build.cake
23
build.cake
|
@ -135,7 +135,7 @@ Task("Gulp Publish")
|
|||
Task("TSLint")
|
||||
.Does(() =>
|
||||
{
|
||||
// Yarn.FromPath(uiProjectDir).RunScript("lint");
|
||||
Yarn.FromPath(uiProjectDir).RunScript("lint");
|
||||
});
|
||||
|
||||
Task("PrePublish")
|
||||
|
@ -263,6 +263,21 @@ Task("Run-Unit-Tests")
|
|||
DotNetCoreTest(file.FullPath, settings);
|
||||
}
|
||||
});
|
||||
|
||||
Task("Run-Server-Build")
|
||||
.Does(() =>
|
||||
{
|
||||
var settings = new DotNetCoreBuildSettings
|
||||
{
|
||||
Framework = frameworkVer,
|
||||
Configuration = "Release",
|
||||
OutputDirectory = Directory(buildDir)
|
||||
};
|
||||
DotNetCoreBuild(csProj, settings);
|
||||
});
|
||||
|
||||
Task("Run-UI-Build")
|
||||
.IsDependentOn("PrePublish");
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// TASK TARGETS
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
@ -270,6 +285,12 @@ Task("Run-Unit-Tests")
|
|||
Task("Default")
|
||||
.IsDependentOn("Publish");
|
||||
|
||||
Task("Build")
|
||||
.IsDependentOn("SetVersionInfo")
|
||||
.IsDependentOn("Run-Unit-Tests")
|
||||
.IsDependentOn("Run-Server-Build")
|
||||
.IsDependentOn("Run-UI-Build");
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// EXECUTION
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue