From fd5fc67b5db68ba0013bfe662cabb5cbaf0cd502 Mon Sep 17 00:00:00 2001 From: alfhenrik Date: Fri, 7 Aug 2015 17:21:41 +1000 Subject: [PATCH] Update to beta6 --- build.cmd | 3 +-- build.sh | 6 +++--- global.json | 2 +- src/JabbR/Startup.cs | 2 +- src/JabbR/project.json | 23 ++++++++++++----------- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/build.cmd b/build.cmd index 589fd20..713dad0 100644 --- a/build.cmd +++ b/build.cmd @@ -6,7 +6,6 @@ IF EXIST src\JabbR\wwwroot\lib\ RMDIR /S /Q src\JabbR\wwwroot\lib\ SETLOCAL SET CACHED_DNVM=%USERPROFILE%\.dnx\bin\dnvm.cmd -SET DNX_UNSTABLE_FEED=https://www.myget.org/F/aspnetrelease/api/v2 IF EXIST %CACHED_DNVM% GOTO dnvminstall echo Installing dnvm @@ -14,7 +13,7 @@ echo Installing dnvm :dnvminstall echo Installing dnx... -CALL dnvm install latest -u +CALL dnvm install 1.0.0-beta6 echo Restoring... CALL dnu restore src/JabbR diff --git a/build.sh b/build.sh index 1094dbe..4252ac2 100755 --- a/build.sh +++ b/build.sh @@ -1,12 +1,12 @@ -#!/bin/bash +#!/usr/bin/env bash rm -rf artifacts/* src/JabbR/wwwroot/lib/* if ! type dnvm > /dev/null 2>&1; then curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | sh && source ~/.dnx/dnvm/dnvm.sh fi -export DNX_UNSTABLE_FEED=https://www.myget.org/F/aspnetrelease/api/v2 -dnvm install latest -u + +dnvm install 1.0.0-beta6 -force dnu restore src/JabbR rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi diff --git a/global.json b/global.json index 132d2ff..41ebdec 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "projects": [ "src", "test" ], "sdk": { - "version": "1.0.0-beta5-11911" + "version": "1.0.0-beta6" } } diff --git a/src/JabbR/Startup.cs b/src/JabbR/Startup.cs index cb7ac99..36c7cbb 100644 --- a/src/JabbR/Startup.cs +++ b/src/JabbR/Startup.cs @@ -52,7 +52,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF // Add the following to the request pipeline only in development environment. if (string.Equals(env.EnvironmentName, "Development", StringComparison.OrdinalIgnoreCase)) { - app.UseErrorPage(ErrorPageOptions.ShowAll); + app.UseErrorPage(); } else { diff --git a/src/JabbR/project.json b/src/JabbR/project.json index b2705d1..2f8b59c 100644 --- a/src/JabbR/project.json +++ b/src/JabbR/project.json @@ -2,16 +2,16 @@ "webroot": "wwwroot", "version": "1.0.0-*", "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-beta5-*", - "Microsoft.AspNet.Diagnostics": "1.0.0-beta5-*", - "Microsoft.AspNet.Server.IIS": "1.0.0-beta5-*", - "Microsoft.AspNet.Server.WebListener": "1.0.0-beta5-*", - "Microsoft.AspNet.SignalR.Server": "3.0.0-beta5-*", - "Microsoft.AspNet.StaticFiles": "1.0.0-beta5-*", - "Microsoft.Framework.Configuration.Json": "1.0.0-beta5-*", - "Microsoft.Framework.Logging": "1.0.0-beta5-*", - "Microsoft.Framework.Logging.Console": "1.0.0-beta5-*", - "Kestrel": "1.0.0-beta5-*" + "Microsoft.AspNet.Mvc": "6.0.0-beta6-*", + "Microsoft.AspNet.Diagnostics": "1.0.0-beta6-*", + "Microsoft.AspNet.Server.IIS": "1.0.0-beta6-*", + "Microsoft.AspNet.Server.WebListener": "1.0.0-beta6-*", + "Microsoft.AspNet.SignalR.Server": "3.0.0-beta6-*", + "Microsoft.AspNet.StaticFiles": "1.0.0-beta6-*", + "Microsoft.Framework.Configuration.Json": "1.0.0-beta6-*", + "Microsoft.Framework.Logging": "1.0.0-beta6-*", + "Microsoft.Framework.Logging.Console": "1.0.0-beta6-*", + "Kestrel": "1.0.0-beta6-*" }, "commands": { "web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5001", @@ -24,7 +24,8 @@ "exclude": [ "wwwroot", "node_modules", - "bower_components" + "bower_components", + "bin" ], "publishExclude": [ "node_modules",