Commit Graph

11 Commits

Author SHA1 Message Date
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 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
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 18d637dfc7 Execute correct commands when building with Core CLR on Linux 2015-10-01 14:12:31 -07:00
Doug Bunting cb3dea63a3 Avoid path too long errors when performing BuildV2 builds in MVC repo
- do not glob to the ends of the earth when looking for `project.json` files

nits:
- remove unused variable in `_kpm-build.shade`
- remove incorrect comment in `_kpm-pack.shade`
- clean up some trailing whitespace
2015-09-18 13:09:51 -07:00
Victor Hurdugaci 00b2daa068 Fix argument parsing for fast build 2015-06-15 16:05:18 -07:00
Victor Hurdugaci f377542e38 Build projects in one go 2015-06-13 14:42:16 -07:00
Pranav K 4882269842 Adding support for running build in parallel. 2015-04-30 08:28:42 -07:00
Wei Wang 3cd272a96a Rename kpm to dnu in standard goal scripts 2015-03-20 10:34:39 -07:00
Troy Dai 197ef48120 Rename k => dnx and update kvm to dnvm 2015-03-07 15:10:32 -08:00
Wei Wang 42a3fce46a React to renaming "kpm build" to "kpm pack" 2015-01-23 10:14:33 -08:00