Commit Graph

24 Commits

Author SHA1 Message Date
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
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
moozzyk 3147920607 Reaciting to removing folder (including `.`) from the dnx command 2015-08-06 07:40:14 -07:00
Pranav K 6d5ac18d0c Use dnvm run instead of switching using dnvm use 2015-06-24 14:35:02 -07:00
Wei Wang 1d8f64d71c Remove k command and use dnx instead 2015-03-24 17:34:51 -07:00
Troy Dai 197ef48120 Rename k => dnx and update kvm to dnvm 2015-03-07 15:10:32 -08:00
Wei Wang 6c55b360d0 Rename dotnetsdk to kvm 2015-01-28 16:31:17 -08:00
Pranav K 361f083117 Updating build scripts to use dotnetsdk instead of kvm 2015-01-20 00:29:57 -08:00
Brice Lambson efd257a7be Run tests on both k10 and net45 2014-06-25 09:46:41 -07:00
Louis DeJardin c1e8c7a0f7 Updating KoreBuild to use kvm/kpm/kre 2014-05-02 14:29:57 -07:00
David Fowler e90fe3cefa Fixed issues with no finding main project k package if not on mono 2014-04-26 12:53:45 -07:00
David Fowler 90a149ab80 Added initial support for mono 2014-04-26 12:46:37 -07:00
David Fowler 050aeb12c7 Updated the k build target to not use the cache. 2014-02-10 23:40:19 -08:00
David Fowler 1964e884e1 Initial version of watch target.
- Added FileWatcher helper class
- Added ability to disable fetching k from nuget every time it's called
- Added watch target to standard goals
- Added ability to skip project generation for net45.
  This is useful for watch so that changes made to the
  project but not saved to disk won't be discarded when the
  watcher runs.
2014-02-01 11:55:10 -08:00
David Fowler c616eaca6f Handle timestamp based versions in kruntime itself
- This is useful when testing privates of the runtime itself.
2014-01-30 02:34:44 -08:00
David Fowler 880add3de8 Fix a couple of things
- Fixed the build number generation
- Bumped version to 0.2.1
- Get projectk nuget on demand
- Removed k-init
2014-01-27 22:42:45 -08:00
Pranav K d2fa7f031f * Allow cached version of kRuntime to be used in install
* Add k-init to allow restoring kRuntime as a one time operation
2014-01-25 21:25:17 -08:00
David Fowler b7c803aa80 Restore ProjectK package once. 2014-01-25 20:05:10 -08:00
David Fowler 9f5251231e Use cache for ProjectK package 2014-01-25 19:57:03 -08:00
Pranav K 667a7c24a4 Updating script to use package from feed 2014-01-25 17:22:07 -08:00
David Fowler 010f5f9569 Added default build files. 2014-01-23 21:29:58 -08:00