Commit Graph

5497 Commits

Author SHA1 Message Date
Doug Bunting 419d3a3ea5 Support restoring with .NET Core
- infrastructure for switching restores everywhere i.e. addressing #290
- e.g. add `KOREBUILD_DNU_RESTORE_CORECLR` setting to `.travis.yml` files, especially if using Trusty
2015-11-13 14:49:58 -08:00
Pranav K d09551af46 Reacting to DependencyInjection changes 2015-11-13 10:30:54 -08:00
Troy Dai 4c97cbb9b2 Update Microsoft.Win32.Registry reference's version 2015-11-12 15:28:21 -08:00
N. Taylor Mullen 37e4a80160 Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:24:19 -08:00
N. Taylor Mullen ca2629c004 Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:22:57 -08:00
Cesar Blum Silveira 2ffa50a80b Merge branch 'release' into dev 2015-11-03 13:10:01 -08:00
Cesar Blum Silveira 7770e5f4db Strong name everything. 2015-11-03 12:05:40 -08:00
Cesar Blum Silveira edf44555f1 Merge branch 'release' into dev 2015-11-02 16:20:35 -08:00
Cesar Blum Silveira acd8d3d44d Strong name everything. 2015-11-02 15:32:44 -08:00
John Luo 5f91ce2f2b Reacting to Hosting changes 2015-10-30 16:51:16 -07:00
Pranav K f2f2b98605 Merge branch 'release' into dev 2015-10-28 12:51:26 -07:00
Pranav K 92a052a55e Merge branch 'release' into dev 2015-10-28 12:49:46 -07:00
Pranav K d0a2a8687e Updating to release NuGet.config. 2015-10-28 12:43:09 -07:00
Pranav K 1c570ba02b Updating to release NuGet.config. 2015-10-28 12:43:04 -07:00
Pranav K 2c240192cf Updating to release dnvm and NuGet.config 2015-10-27 23:02:33 -07:00
BrennanConroy 0541ba6d12 Update dnvm.cmd 2015-10-26 14:52:41 -07:00
Brennan b1c2447073 Update dnvm 2015-10-26 14:12:16 -07:00
David Fowler 812609843f Removed unused using 2015-10-23 02:10:08 -07:00
Pavel Krymets bc80dab39d Compiles and passes tests 2015-10-22 18:15:32 -07:00
Pranav K c3a24cbe72 Switching to generations TFMs 2015-10-22 01:04:17 -07:00
Pranav K 1a40e7254d Switching to using generations TFM 2015-10-21 18:31:51 -07:00
Pavel Krymets a098b8ce2b Reach to Hosting changes 2015-10-21 10:49:31 -07:00
Doug Bunting 207e97db7a Fix DNX Core testing on Windows
- avoid `cmd /C dnvm.cmd ...` because `cmd` does not report `.cmd` script exit code correctly
  - change both `_dnu.shade` and `_k.shade` though `_k.shade` is more-often an issue
- @moozzyk reported problem in [discussion](https://github.com/aspnet/Universe/pull/299#discussion-diff-41954492) of PR #299
2015-10-19 15:41:13 -07:00
Pranav K 0ea0a44e15 Refactoring script to create master branch 2015-10-19 10:45:56 -07:00
Cesar Blum Silveira f784b1bf43 Enable Microsoft.AspNet.WebSockets.Protocol.Test on CoreCLR. 2015-10-16 16:47:52 -07:00
Cesar Blum Silveira cea46e7851 Disable Microsoft.AspNet.Cryptography.KeyDerivation.Test on CoreCLR. 2015-10-16 15:49:25 -07:00
Cesar Blum Silveira 4165ee02c1 Enable some tests on CoreCLR. 2015-10-16 11:15:34 -07:00
Cesar Blum Silveira fb6bbee561 Call correct build.sh when building repos. 2015-10-16 11:00:52 -07:00
Doug Bunting 4e87b0c972 Go back to running `dnu restore` with Mono
- can't fix #290 at this time; need Ubuntu 14.04 on Travis
2015-10-12 18:51:11 -07:00
Doug Bunting 187221fcd8 Fix local build break 2015-10-12 13:06:31 -07:00
Doug Bunting 79fe094add Fix local build break 2015-10-12 12:50:44 -07:00
Doug Bunting f8b7b6ba41 Correct typo in `build.cmd` 2015-10-12 12:34:08 -07:00
Doug Bunting 24346ea976 Fix build breaks
- correct typo in `_kpm-publish.shade`
2015-10-12 10:39:48 -07:00
Doug Bunting d679c85aa3 Always restore w/ Core CLR and build w/ CLR or Mono
- #290
- remove workaround for aspnet/dnx#2566; not needed if building with CLR or Mono
- install Core CLR DNX in `build.sh`
  - must be applied in all repos using Travis before this PR goes in
- add `Dnu()` and `Dnx()` macros
  - remove `K()` macro from `_k-test.shade`; use `Dnx()` instead
- incorporate per-repo changes not yet applied to Universe templates
  - use newer `NuGet.exe`
  - Universe itself does not need the Korebuild package or `dnvm`

Changes partially revert 618a73b e.g. always start build with CLR or Mono DNX

nits:
- reduced DNX switches and `dnvm` calls in `build.cmd`
- base NuGet skip decision on _both_ KoreBuild and Sake's installation status
- make `Quiet` variable work more reliably; small changes often led to compilation problems
  - requires a small change in DNX repo at the same time
- remove some trailing whitespace and tabs
- add a bit more description to `_k.shade`
2015-10-12 10:02:18 -07:00
Doug Bunting 532b96ddd6 React to aspnet/Universe#290 fix 2015-10-08 21:37:53 -07:00
Doug Bunting 950acc99b5 React to aspnet/Universe#290 fix 2015-10-08 20:31:56 -07:00
Pranav K 9fc75d395d Replace NotNullAttribute with thrown exceptions 2015-10-07 18:05:26 -07:00
Pranav K bc6502825f Replacing NotNullAttribute with thrown exceptions 2015-10-07 17:44:11 -07:00
Cesar Blum Silveira 76cbb57f9a Fix build on Linux. 2015-10-07 15:06:50 -07:00
Pranav K a0262a0569 Add setup to all repos list
Fixes #293
2015-10-06 16:40:54 -07:00
Doug Bunting 618a73b399 Support building with Core CLR (on Linux)
- hits all of the checkboxes in #272

Specify test runtime explicitly and support testing w/ DNX Core on Linux
- turn on DNX Core on Linux testing with `--test-dnxcore` target
  - or `KOREBUILD_TEST_DNXCORE` environment variable

Work around aspnet/dnx#2566
- builds fail with DNX Core on Linux otherwise

Do not attempt to install nodejs if not on Windows

Use user's `default` DNVM when `%SKIP_DNX_INSTALL%` defined on Windows
- enables builds with DNX Core
- should be the default for new repos; older repos can opt in

Use consistent case for all `--quiet` environment variables
  - also name these variables consistently; start w/ `KOREBUILD_`
- environment variables are case-sensitive on Linux and mixed case was annoying
- also get rid of leading space in these environment variable values

Check `IsLinux` and not `IsMono`
- `IsMono` is always `true` on Linux since Sake always runs in Mono there
  - but `IsLinux` is the right question

nits:
- remove tabs from a few files
- remove compilation warnings in local `makefile.shade`
2015-10-05 23:02:50 -07:00
Pranav K aea8716df6 Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:48 -07:00
Pranav K ad9d75a599 Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:36 -07:00
Doug Bunting aa2beb83c2 Revert "Execute correct commands when building with Core CLR on Linux"
- bad merge; this commit should not have been included

This reverts commit 18d637dfc7.
2015-10-01 14:29:26 -07:00
Doug Bunting 580fe5b651 Merge branch 'dougbu/update.dnvm' into dev 2015-10-01 14:25:41 -07:00
Doug Bunting 18d637dfc7 Execute correct commands when building with Core CLR on Linux 2015-10-01 14:12:31 -07:00
Doug Bunting 352e41ff20 Update to latest `dnvm`
- `beta8-15518` to `rc1-15523`
- main changes include
  - remove `-a` alias for `-alias`; `build.cmd` files updated (thanx @NTaylorMullen)
  - [Linux] deprecate `dnvm unalias`; add `dnvm alias -d`
  - add `dnvm uninstall`
2015-10-01 14:04:57 -07:00
Anthony van der Hoorn fd7c5754fa Fix bug where we search for scripts in wwwroot/lib 2015-10-01 13:43:13 -07:00
N. Taylor Mullen 83aa5b12f2 Update 'build.cmd' alias parameter to use full name. 2015-10-01 12:21:29 -07:00
N. Taylor Mullen 7f7ad3479a Update 'build.cmd' alias parameter to use full name. 2015-10-01 11:58:52 -07:00