mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 18:47:15 -07:00
Latest practices... also probably broke some styles - sorry (#1508)
* Latest practices * Lock zone.js to 0.8.16 (for now, see https://github.com/angular/zone.js/pull/887 ) * Use es6-compatible minifier * Attempt to fix pull req appveyor builds * Attempt build fix again * Remove cake gulp publish task - not needed anymore * Use bootswatch and remove unused bootstrap dependency * Add bootstrap * Fix things
This commit is contained in:
parent
d754ef6b81
commit
cd8a44cab8
27 changed files with 2970 additions and 8631 deletions
33
build.cake
33
build.cake
|
@ -95,19 +95,11 @@ Task("SetVersionInfo")
|
|||
|
||||
|
||||
buildSettings.ArgumentCustomization = args => args.Append("/p:SemVer=" + versionInfo.AssemblySemVer);
|
||||
buildSettings.ArgumentCustomization = args => args.Append("/p:FullVer=" + fullVer);
|
||||
buildSettings.ArgumentCustomization = args => args.Append("/p:FullVer=" + versionInfo.FullSemVer);
|
||||
publishSettings.ArgumentCustomization = args => args.Append("/p:SemVer=" + versionInfo.AssemblySemVer);
|
||||
publishSettings.ArgumentCustomization = args => args.Append("/p:FullVer=" + fullVer);
|
||||
buildSettings.VersionSuffix = versionInfo.BranchName;
|
||||
publishSettings.VersionSuffix = versionInfo.BranchName;
|
||||
});
|
||||
|
||||
Task("Restore")
|
||||
.IsDependentOn("SetVersionInfo")
|
||||
.IsDependentOn("Gulp Publish")
|
||||
.Does(() =>
|
||||
{
|
||||
DotNetCoreRestore(projDir);
|
||||
publishSettings.ArgumentCustomization = args => args.Append("/p:FullVer=" + versionInfo.FullSemVer);
|
||||
//buildSettings.VersionSuffix = versionInfo.BranchName;
|
||||
//publishSettings.VersionSuffix = versionInfo.BranchName;
|
||||
});
|
||||
|
||||
Task("NPM")
|
||||
|
@ -121,18 +113,15 @@ var settings = new NpmInstallSettings {
|
|||
NpmInstall(settings);
|
||||
});
|
||||
|
||||
Task("Gulp Publish")
|
||||
.IsDependentOn("NPM")
|
||||
.Does(() => {
|
||||
|
||||
var runScriptSettings = new NpmRunScriptSettings {
|
||||
ScriptName="publish",
|
||||
WorkingDirectory = webProjDir,
|
||||
};
|
||||
|
||||
NpmRunScript(runScriptSettings);
|
||||
Task("Restore")
|
||||
.IsDependentOn("SetVersionInfo")
|
||||
.IsDependentOn("NPM")
|
||||
.Does(() =>
|
||||
{
|
||||
DotNetCoreRestore(projDir);
|
||||
});
|
||||
|
||||
|
||||
Task("Build")
|
||||
.IsDependentOn("Restore")
|
||||
.Does(() =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue