Commit Graph

12 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
Pranav K 864cc39ce2 Updating to Sake 0.2.2 2015-09-09 11:19:24 -07:00
Victor Hurdugaci f377542e38 Build projects in one go 2015-06-13 14:42:16 -07:00
Victor Hurdugaci c354f0a8ba New assembly file version (with year) 2015-03-31 09:19:05 -07:00
Victor Hurdugaci 188f5e8328 Set the file version environment variable 2015-03-30 14:53:56 -07:00
Brice Lambson 22e94d2fbb Add IsTeamCity flag 2014-12-01 10:48:12 -08:00
Pranav K 0023eac56b Modify KoreBuild to not set a K_BUILD_VERSION if it is already set (CI scenarios) 2014-06-21 18:25:10 -07:00
Brice Lambson 782e586c22 Bump versions to *-alpha2-* 2014-06-19 16:05:56 -07:00
Pranav K f957e7caee Updating BuildEnv.shade to use longer build numbers 2014-05-07 11:34:28 -07: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
David Fowler a738b84deb Modified the build.
- Added BuildEnv with BuildNumber property
- Fixed generate projects
2014-01-27 19:26:53 -08:00