mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
Made build faster
This commit is contained in:
parent
e63b697d4d
commit
a4637a139b
4 changed files with 18 additions and 12 deletions
12
build.cake
12
build.cake
|
@ -117,6 +117,17 @@ Task("NPM")
|
|||
NpmInstall(settings);
|
||||
});
|
||||
|
||||
Task("Gulp Publish")
|
||||
.Does(() => {
|
||||
|
||||
var runScriptSettings = new NpmRunScriptSettings {
|
||||
ScriptName="publish",
|
||||
WorkingDirectory = webProjDir,
|
||||
};
|
||||
|
||||
NpmRunScript(runScriptSettings);
|
||||
});
|
||||
|
||||
Task("TSLint")
|
||||
.IsDependentOn("NPM")
|
||||
.Does(() =>
|
||||
|
@ -132,6 +143,7 @@ Task("TSLint")
|
|||
Task("Restore")
|
||||
.IsDependentOn("SetVersionInfo")
|
||||
.IsDependentOn("TSLint")
|
||||
.IsDependentOn("Gulp Publish")
|
||||
.Does(() =>
|
||||
{
|
||||
DotNetCoreRestore(projDir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue