mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
build changes for angular-cli upgrade !wip
This commit is contained in:
parent
2d6ed4056b
commit
f7cc7d9e35
1 changed files with 5 additions and 4 deletions
|
@ -18,10 +18,11 @@ var configuration = Argument("configuration", "Release");
|
|||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
var buildDir = "./src/Ombi/bin/" + configuration;
|
||||
var nodeModulesDir ="./src/Ombi/node_modules/";
|
||||
var nodeModulesDir ="./src/Ombi/ClientApp/node_modules/";
|
||||
var wwwRootDistDir = "./src/Ombi/wwwroot/dist/";
|
||||
var projDir = "./src/"; // Project Directory
|
||||
var webProjDir = "./src/Ombi";
|
||||
var uiProjectDir = "./src/Ombi/ClientApp";
|
||||
var csProj = "./src/Ombi/Ombi.csproj"; // Path to the project.csproj
|
||||
var solutionFile = "Ombi.sln"; // Solution file if needed
|
||||
GitVersion versionInfo = null;
|
||||
|
@ -122,19 +123,19 @@ Task("SetVersionInfo")
|
|||
|
||||
Task("NPM")
|
||||
.Does(() => {
|
||||
Yarn.FromPath(webProjDir).Install();
|
||||
Yarn.FromPath(uiProjectDir).Install();
|
||||
});
|
||||
|
||||
Task("Gulp Publish")
|
||||
.IsDependentOn("NPM")
|
||||
.Does(() => {
|
||||
Yarn.FromPath(webProjDir).RunScript("publish");
|
||||
Yarn.FromPath(uiProjectDir).RunScript("build");
|
||||
});
|
||||
|
||||
Task("TSLint")
|
||||
.Does(() =>
|
||||
{
|
||||
Yarn.FromPath(webProjDir).RunScript("lint");
|
||||
// Yarn.FromPath(uiProjectDir).RunScript("lint");
|
||||
});
|
||||
|
||||
Task("PrePublish")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue