Commit Graph

8 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 90294aa49c Fix build failures when source is under a directory with spaces in the name
- aspnet/Mvc#2082
- problems specific to local `node` and related installations
 - quote authenticode verification target
 - quote local `node` library paths
 - quote local `npm.cmd` path (with ye olde `/S` double-quoting hack)
 - quote `--prefix` values in `npm install` commands
 - quote `rimraf` directories to delete
2015-03-12 10:33:12 -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 80f7e445e5 Pay attention to `bower` and `grunt` libraries, not containing folder
- should help to avoid repeated CI failures executing `bower`

also get `grunt` working on Linux machines when globally installed
2015-02-05 12:09:10 -08:00
Doug Bunting 7431356913 Short-circuit `TestCommand()` calls once commands are installed locally 2015-01-29 22:54:56 -08:00
Doug Bunting 56f45e0c7d Include `bower` and `npm` commands in `--quiet` target 2015-01-29 22:54:51 -08:00
DamianEdwards 79111650f0 Fixed node/npm/grunt tasks to use global install if available 2014-07-08 13:42:47 -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