anurse
9e872c3721
update dnvm
...
fixes #195
2015-03-30 11:30:59 -07:00
Pranav K
f4794e5c7f
Make pushing to NuGet feed more resilient.
2015-03-27 16:09:56 -07:00
Wei Wang
1d8f64d71c
Remove k command and use dnx instead
2015-03-24 17:34:51 -07:00
Wei Wang
3cd272a96a
Rename kpm to dnu in standard goal scripts
2015-03-20 10:34:39 -07:00
N. Taylor Mullen
bd14c064e9
Fix DNX naming issue for 'k test'.
...
- This re-enables CoreCLR testing when running build.cmd.
2015-03-18 13:35:59 -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
f6ae75eac5
Bower blocks build on first run
...
- aspnet/Mvc#2116
- run Bower non-interatively from our scripts
- does not affect grunt-brower-task; programmatic Bower use never prompts
- see Bower discussion at bower/bower#1162
- FYI `$env:CI = 'TeamCity'` would work similarly but TeamCity does not set that
2015-03-11 11:13:13 -07:00
Troy Dai
30e4b1c167
Update dnvm to build 10345
2015-03-11 11:00:40 -07:00
Troy Dai
1407c09c30
Integrate latest dnvm
2015-03-10 14:05:47 -07:00
N. Taylor Mullen
1f0531f65e
Update dnvm.
2015-03-08 22:08:42 -07:00
Troy Dai
e46896b7cd
Futher renaming work
...
1. SKIP_KVM_INSTALL => SKIP_DNX_INSTALL
2. Update k test
2015-03-07 16:08:24 -08:00
Troy Dai
197ef48120
Rename k => dnx and update kvm to dnvm
2015-03-07 15:10:32 -08:00
Brice Lambson
7c2d4593de
Clean up the framework detection logic in _k-test.shade
2015-02-23 09:27:53 -08:00
David Fowler
7ace9dece4
Update kvm.ps1
...
Fixed the feed
2015-02-17 19:59:04 -08:00
Victor Hurdugaci
9354296521
Merge branch 'release' into dev
2015-02-17 09:19:17 -08:00
Pranav K
d56dafe2e8
Use kpm-build to build samples instead of kpm pack
2015-02-13 15:46:02 -08:00
Pranav K
0cd3d3767e
Deep clean on the CI as part of clean
2015-02-12 17:07:58 -08:00
Doug Bunting
3de5db0c78
Provide `deep-clean` target to remove folders `git clean` cannot
...
- use `rimraf` instead of noisier, slower `robocopy-delete`
- _rimraf.shade is modeled after bower.shade
2015-02-05 14:25:44 -08: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
f1154a850c
Speed up developer builds a bit
...
- do not delete node_modules folders during every build
2015-02-05 12:09:33 -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
damianedwards
ff63cb8b0d
Move grunt execution to before compilation
2015-02-03 17:17:41 -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
anurse
da5a292b12
⬆️ kvm again
2015-01-30 14:36:45 -08:00
anurse
6adb92fea6
⬆️ kvm
2015-01-30 13:43:55 -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
Wei Wang
6c55b360d0
Rename dotnetsdk to kvm
2015-01-28 16:31:17 -08:00
Suhas Joshi
19de5f1be1
Fix for test hang issue
2015-01-27 10:06:14 -08:00
Pranav K
eb192a36a6
Renaming kpm-local-publish to kpm-publish
2015-01-25 10:57:14 -08:00
Pranav K
99a22149a9
Changes to allow using kpm add to publish artifacts to CI volatile directory
2015-01-25 10:23:55 -08:00
David Fowler
466a710a16
Make build install go directly to packages cache
2015-01-25 09:02:05 -08:00
Wei Wang
42a3fce46a
React to renaming "kpm build" to "kpm pack"
2015-01-23 10:14:33 -08:00
Pranav K
361f083117
Updating build scripts to use dotnetsdk instead of kvm
2015-01-20 00:29:57 -08:00
Doug Bunting
f38d08a408
#37 , Support sample- or test-only repositories
...
- skip a few targets when src directory does not exist
2015-01-15 15:02:41 -08:00
Kai Ruhnau
c008b3922d
Fixed the casing of the configuration
2015-01-06 18:37:12 +01:00
Doug Bunting
ea355e137f
Fix #118 , Only check K projects for XML documentation errors
...
- ignore leftover XML files e.g. from other branches
- tested manually in MVC repo with a bad doc file outside a K project
- limit checked XML files to those in `bin` directory under K projects
- align with clean target: that only removes bin directories under K projects
- approach ignores XML files in .csproj projects but no such projects in
repos where _k-xml-docs-test.shade file is used
Address old [comment](https://github.com/aspnet/Universe/pull/101/files#r16633938 ) from @Eilon on PR#101
> Traditionally we use i++ and not ++i.
2014-12-04 10:37:42 -08:00
Brice Lambson
22e94d2fbb
Add IsTeamCity flag
2014-12-01 10:48:12 -08:00
Suhas Joshi
f61b1496b2
Updating commands for non windows machines
2014-11-24 14:27:43 -08:00
Doug Bunting
3edc04741c
Address PR comments
...
- "K_build_options" -> "KPM_build_options" environment variable
- "K_build_options" -> "KPM_restore_options" (oops)
- "set-quiet" -> "--quiet" target
nit: remove trailing whitespace
2014-11-12 08:45:54 -08:00
Doug Bunting
dd5e65eb1d
Get build and restore options from environment; provide set-quiet target
...
- see #123
- leaves default build unchanged
- run `build set-quiet default` for a much-quieter build
2014-11-12 08:40:44 -08:00
Troy Dai
73a439804b
Skip calling clean-npm-modules from #run-grunt on Mono
2014-11-11 17:02:42 -08:00
DamianEdwards
9c279164c4
Updated the grunt target to delete node_modules directory afterward
...
- It shelss out to "robocopy" tool as that is safe for long paths
- Doing this to work around the issue with KRE compile failing when long paths are present in the project folder
2014-11-11 11:15:36 -08:00
Pranav K
fc99ba1426
Updating kvm.ps1 and kvm.sh scripts
2014-11-10 10:12:30 -08:00
Chris Ross
374a0ec055
Only build samples if samples dir exists.
2014-10-27 10:52:59 -07:00
Chris Ross
84c23e1e0a
#96 - Build samples
2014-10-27 10:25:43 -07:00
Pranav K
78458c1869
Adding kvm.sh to KoreBuild
2014-09-21 15:41:33 -07:00
David Fowler
d8eb06c0f0
Updated kvm to the latest
...
- Added -runtime switch
2014-09-05 01:10:26 -07:00
Brice Lambson
293c761eaf
Run tests targeting aspnet* frameworks
2014-08-29 10:12:28 -07:00
dougbu
6f7e62201b
Support test for XML documentation errors
...
- can't be done as a unit test because `k.cmd test` doesn't write assemblies for referenced projects
- instead support extending the "test" target in builds
To enable this in a repo, add the following to the makefile.shade file:
```
#xml-docs-test target='test'
k-xml-docs-test
```
Example output with one syntax error and one invalid reference:
```
info: Target xml-docs-test
warn: Invalid documentation syntax in src\Microsoft.AspNet.Mvc.Core\bin\debug\net45\Microsoft.AspNet.Mvc.Core.xml
warn: 3170: <!-- Badly formed XML comment ignored for member "T:Microsoft.AspNet.Mvc.Rendering.HtmlHelper" -->
warn: 3203: If the object is already an <see cref="!:IDictionaries<string, object>"/> instance, then it is
```
2014-08-11 16:17:15 -07:00
David Fowler
c27ba5f00f
Made some tweaks to k test
...
- Change to look in frameworks instead of configurations when
running tests
- Assume net45 if nothing specified
2014-07-13 22:24:47 -07:00
Pranav K
f18a1b3465
Updating _k-build to actually pass in configuration
2014-07-10 13:47:45 -07:00
Pranav K
77409f8f6e
Flow Configuration from environment when doing k build
2014-07-10 13:21:32 -07: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
f290ec014f
Change native-compile to no-op if no native projects found
...
- #93
2014-07-02 14:38:52 -07:00
AndriySvyryd
e32d1b069f
Using the default namespace for the resources class
2014-06-27 15:40:38 -07:00
Brice Lambson
efd257a7be
Run tests on both k10 and net45
2014-06-25 09:46:41 -07: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
David Fowler
980e28a79f
Updated kvm.ps1
2014-06-20 12:35:56 -07:00
Brice Lambson
782e586c22
Bump versions to *-alpha2-*
2014-06-19 16:05:56 -07:00
Wei Wang
213cddb339
Default author is set in KoreBuild script
...
- If there is a non-empty env var "K_AUTHOR", use its value as default
author
- Otherwise, use the value of predefined var "AUTHORS"
2014-06-18 15:28:29 -07:00
David Fowler
a1583f298c
Change k build to kpm build.
2014-06-15 07:49:55 -07:00
Ryan Nowak
545c614320
temporarily disable stylecop for tests
2014-06-11 16:47:17 -07:00
Brice Lambson
9774d4531f
Revert "Run tests on both net45 and k10 ( Fix #42 )"
...
This reverts commit c2a22b57b0 .
2014-06-09 15:46:27 -07:00
Brice Lambson
c2a22b57b0
Run tests on both net45 and k10 ( Fix #42 )
2014-06-09 14:18:41 -07:00
Brice Lambson
71a77685e6
Add Resources.cs to fix VS warnings
2014-06-06 09:42:09 -07:00
Pranav K
9d3b449f9f
Use '\n' instead of Environment.NewLine when tokenizing multi-line resx
...
statements
Fixes #76
2014-05-29 16:43:02 -07:00
Ryan Nowak
9a960a5831
Adding scripts for stylecop
2014-05-28 12:53:40 -07:00
DamianEdwards
8ed77f290d
Fix build break
2014-05-22 18:36:33 -07:00
DamianEdwards
464bf577bc
Look for signtool.exe in absolute paths
2014-05-22 18:33:14 -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
Pranav K
6c6e474db1
Removing support for csproj generation as part of build
...
* Removing 'watch' target since it's no longer useful
2014-05-21 15:47:54 -07:00
Louis DeJardin
33e8ffd261
Updating kvm in KoreBuild
2014-05-10 16:58:24 -07:00
Pranav K
f957e7caee
Updating BuildEnv.shade to use longer build numbers
2014-05-07 11:34:28 -07:00
Brice Lambson
2c7f9641c8
Make `build pull` less destructive
2014-05-06 09:34:10 -07:00
David Fowler
43b02a07b5
Cleanup left over cruft
2014-05-04 16:13:33 -07:00
David Fowler
7e90d0ef32
Fixed k10 csproj generation
...
- Added the project k targets to KoreBuild
2014-05-04 13:31:33 -07:00
Louis DeJardin
60267a3a22
Temporarily disabling k10 xunit runs
2014-05-02 17:14:17 -07:00
Louis DeJardin
c1e8c7a0f7
Updating KoreBuild to use kvm/kpm/kre
2014-05-02 14:29:57 -07:00
AndriySvyryd
6cb896dc0f
asf
2014-05-01 12:42:21 -07:00
AndriySvyryd
85a9af832e
Run tests for all configured platforms
2014-04-30 12:10:06 -07:00
David Fowler
01daa33403
Added xml assembly since it's no included on mono by default
2014-04-26 13:03:51 -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
Brice Lambson
8b2dfabc30
Generate projects for net451
2014-04-21 13:16:45 -07:00
Pranav K
634f069c3c
Adding support for generating resx files from build
...
* Adding support for resx file generation as part of watch command
2014-04-14 12:32:39 -07:00
Pranav K
ccaaaeb392
Adding asmdiff.shade
2014-03-25 22:19:14 -07:00
Pranav K
752e559b2f
Space - the final frontier
2014-03-17 16:42:40 -07:00
Pranav K
07465158c2
Modifying csproj generator to not add references to shared projects
2014-03-17 14:14:56 -07:00
David Fowler
5a10bb338b
Updated make-roslyn-fast script
...
- Account for changing assembly names by keeping 2 lists
2014-03-16 03:08:22 -07:00
David Fowler
65d461814f
Added 4.5.1 support for web projects
2014-03-13 22:18:46 -07:00
Brice Lambson
9be70fb808
Target .NET Framework 4.5.1 in generated csproj files
2014-03-12 14:29:00 -07:00
Brice Lambson
6aab876f00
Support multi-part code values during project generation
2014-03-09 16:59:32 -07:00
David Fowler
53e3ea15c9
Added support for excludes in project.json files.
2014-03-09 14:02:30 -07:00
Brice Lambson
9d6b227226
Run tests during build
2014-03-07 17:26:11 -08:00
David Fowler
90430b425d
If there's a contract folder then use it in the nuget package for compilation.
2014-03-06 23:29:14 -08:00
David Fowler
ff922fcbd6
Don't use the cache for the roslyn ngen
2014-03-05 12:47:06 -08:00
David Fowler
08ab9b3130
Update ngen roslyn script to handle new version of roslyn
2014-03-04 21:19:47 -08:00
Pranav K
84c2e7cffe
Do not attempt to add the designer file as part of the tt generation
...
This results in multiple copies of the .Designer file being added to the
project in different locations which gets confusing.
2014-03-03 12:10:57 -08:00
David Fowler
3d0ec33404
Added other candidate folder for weird packages like shouldly.
2014-03-02 12:22:55 -08:00
David Fowler
e65b122584
Fixed issue with multiple shared file projects
...
- Create new Files instance so project generator doesn't have left over state.
2014-03-01 01:41:49 -08:00
David Fowler
ba807f65fc
Added basic shared file support for project.json based on runtime behavior.
2014-03-01 01:01:36 -08:00
Pranav K
e859697d58
Modify Resources.tt to generate a property and a format method for each resource
2014-02-27 13:50:11 -08:00
Pranav K
5dccaabe88
Modify Resources template to support named and index based formatting
...
parameters
2014-02-26 14:03:10 -08:00
David Fowler
9cdf630f19
Make all package references private so that they get copied to bin
2014-02-24 23:41:39 -08:00
David Fowler
3059e299f5
Added overwrite=true to ngen logic
2014-02-24 23:18:42 -08:00
David Fowler
5dfb23d87b
Added target to gac and ngen roslyn
2014-02-24 23:03:36 -08:00
anpete
d35d168973
Enable warningsAsErrors compiler option in project gen
2014-02-17 22:28:22 -08:00
David Fowler
df09af0ff2
Added ability to generate web project that bootstraps helios.
2014-02-14 02:14:53 -08:00
anpete
31ba4e8430
Use named parameters for format strings
2014-02-13 17:20:00 -08:00
David Fowler
95d5324bcf
Fixed sample generation to use new command line.
2014-02-12 15:20:53 -08:00
Pranav K
1c6f185989
Replace tt template with generated code
2014-02-12 12:28:26 -08:00
Pranav K
076ab987b1
Changing resx generation to use tt file
2014-02-12 10:26:11 -08:00
Brice Lambson
ffe5f070e0
Configure bugtraq options after clone
...
This enables linking to issues from commit messages in various tools (e.g. gitk, TortoiseGit, etc.)
2014-02-11 13:24:58 -08:00
David Fowler
050aeb12c7
Updated the k build target to not use the cache.
2014-02-10 23:40:19 -08:00
David Fowler
0eace4bbe6
Fixed native compile target by exposing the exec macro
2014-02-10 19:31:29 -08:00
David Fowler
8990f987a0
Added native compile to the standard goals
...
- Builds native projects to a common location
2014-02-10 19:15:25 -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
Pranav K
37e225d517
Regenerate resx files using ResxFileCodeGenerator
...
This is a temporary arrangement until we can start generating designer
file equivalents from k build. A side-effect of the change is that the
generated file will no longer build in CoreCLR profile due to missing API.
2014-02-01 10:33:34 -08:00
David Fowler
27574b1616
Change the runtime generation so that it runs the app using dynamic compilation.
2014-02-01 00:18:33 -08:00
anpete
a951d40352
Match k build resource embedding
2014-01-30 11:52:20 -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
Pranav K
738ab055de
Adding support for debugging sample applications
2014-01-29 21:56:59 -08:00
AndrewPeters
f4e3bb768d
Adds resx to proj gen
2014-01-29 15:17:04 -08:00
AndrewPeters
9935af3a43
Improved package reference resolution.
2014-01-28 22:22:58 -08:00
David Fowler
cd93c4f551
Don't use k-clean just delete the bin directory.
2014-01-27 22:58:26 -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
David Fowler
824b877b4a
Changed default target to initialize.
2014-01-27 22:03:55 -08:00
David Fowler
a738b84deb
Modified the build.
...
- Added BuildEnv with BuildNumber property
- Fixed generate projects
2014-01-27 19:26:53 -08:00
Chris Ross
921a848cce
Read compliationOptions per config.
2014-01-27 14:50:02 -08:00
David Fowler
e5fb47158b
Fixed project updates.
2014-01-26 02:52:30 -08:00
David Fowler
513295e19c
Only update project file if there's changes to apply.
2014-01-26 02:36:59 -08:00
David Fowler
e0b89604ce
Read the solution file so project guids don't change on regen.
2014-01-26 02:16:20 -08:00
David Fowler
d3ca896dd0
Handle per configuration package references when genning projects.
2014-01-25 23:25:52 -08:00
David Fowler
77b1c3fe3b
Added netcore45 to the list of target frameworks.
2014-01-25 22:04:36 -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
David Fowler
a9329da87b
Get the latest package.
2014-01-25 17:27:28 -08:00
Pranav K
667a7c24a4
Updating script to use package from feed
2014-01-25 17:22:07 -08:00
David Fowler
84f35cab5e
Handle defines and unsafe code.
2014-01-25 05:31:46 -08:00
David Fowler
97c064af5c
Added default configurations if none specified.
2014-01-25 04:58:35 -08:00
David Fowler
4a3491e5b8
Made project generation more robust so that it handles more cases.
2014-01-25 04:36:58 -08:00
David Fowler
52c9e72ee1
Changed package name to KoreBuild.
2014-01-25 01:12:12 -08:00
David Fowler
f53b844807
Added packing step for build libraries.
2014-01-24 23:50:03 -08:00
David Fowler
b5a80997d6
Fixed missing references node in k10 project
2014-01-24 01:57:03 -08:00
David Fowler
010f5f9569
Added default build files.
2014-01-23 21:29:58 -08:00
Louis DeJardin
acdf8aa3bd
Recursing to compile
...
continues to other repos on errors
displays summary at end
2014-01-23 13:54:11 -08:00
Louis DeJardin
b20ee8784c
Initial code
2014-01-23 13:53:13 -08:00