Commit Graph

7 Commits

Author SHA1 Message Date
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 530d655d59 Use `default` for `*GloballyInstalled` variables
- allows calling .shade files to avoid repeated `TestCommand()` calls

nit in _node-install.shade:
- name `default nodeDir` variable to match other shade files; reusing value
2015-02-05 14:21:10 -08:00
Doug Bunting 6d39addb5b Create target directory for `npm` installations
- #144
- problems seem primarily to occur when `node` is globally installed but a
  package (`grunt` or `bower`) is not; `npm install X` fails in this case
- create the `--prefix` directory first to avoid these installation failures
- change _node-install.shade to avoid confusion when directory exists
2015-01-31 17:29:25 -08:00
Doug Bunting 7431356913 Short-circuit `TestCommand()` calls once commands are installed locally 2015-01-29 22:54:56 -08:00
DamianEdwards 79111650f0 Fixed node/npm/grunt tasks to use global install if available 2014-07-08 13:42:47 -07:00
DamianEdwards 861e3df43b Only install node/npm/bower if not installed globally 2014-07-08 12:43:56 -07:00
DamianEdwards 6d5e709b85 Add tasks for:
- Installing node locally
- Running node
- Installing npm packages
- Install bower packages
- Running grunt
2014-05-22 16:36:57 -07:00