Refresh boundle

This commit is contained in:
Samuele E. Locatelli
2019-02-11 19:07:38 +01:00
parent 26104e45d9
commit 4e6d2ceebc
5 changed files with 25 additions and 30 deletions
Vendored
+1 -1
View File
@@ -20,7 +20,7 @@ pipeline {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=259']) {
withEnv(['NEXT_BUILD_NUMBER=260']) {
// env.versionNumber = VersionNumber(versionNumberString : '2.3.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '2.3.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'WebSCR'
+22 -24
View File
@@ -1,16 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Optimization;
namespace WebSCR
{
public class BundleConfig
public class BundleConfig
{
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254726
public static void RegisterBundles(BundleCollection bundles)
{
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254726
public static void RegisterBundles(BundleCollection bundles)
{
#if false
bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include(
"~/Scripts/WebForms/WebForms.js",
@@ -34,28 +30,30 @@ namespace WebSCR
"~/Scripts/modernizr-*"));
#endif
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jquerymobile").Include(
"~/Scripts/jquery.mobile-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jquerymobile").Include(
"~/Scripts/jquery.mobile-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jSteamware").Include(
"~/Scripts/jSteamware*"));
bundles.Add(new ScriptBundle("~/bundles/jSteamware").Include(
"~/Scripts/jSteamware*"));
//bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
// "~/Scripts/jquery.unobtrusive*",
// "~/Scripts/jquery.validate*"));
//bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
// "~/Scripts/jquery.unobtrusive*",
// "~/Scripts/jquery.validate*"));
// aggiungo bundle dinamico x less --> css
bundles.Add(new DynamicFolderBundle("less", "*.less"));
#if false
// aggiungo bundle dinamico x less --> css
bundles.Add(new DynamicFolderBundle("less", "*.less"));
#endif
// aggiungo bundle dinamico x coffee --> jscript
//bundles.Add(new DynamicFolderBundle("coffee", "*.coffee"));
// aggiungo bundle dinamico x coffee --> jscript
//bundles.Add(new DynamicFolderBundle("coffee", "*.coffee"));
// abilito boundle "forzato"!
BundleTable.EnableOptimizations = true;
}
// abilito boundle "forzato"!
BundleTable.EnableOptimizations = true;
}
}
}
+1 -4
View File
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Routing;
using Microsoft.AspNet.FriendlyUrls;
using System.Web.Routing;
namespace WebSCR
{
+1 -1
View File
@@ -8,7 +8,7 @@
<include path="~/Content/WebSCR.min.css" />
<include path="~/Content/jquery.mobile-1.4.5.min.css" />
<include path="~/Content/jquery.mobile.icons-1.4.5.min.css" />
<!--<include path="~/Content/jquery.mobile.theme-1.4.5.min.css" />-->
<!--<include path="~/Content/Style.min.css" />-->
<!--<include path="~/Content/themes/base/jquery.ui.css" />
Binary file not shown.