Commit graph

3416 commits

Author SHA1 Message Date
Bryan Thornbury
610626dce3 version badge target 2016-07-12 16:52:58 -07:00
Eric Erhardt
703da0da3e Microsoft.NuGet.ImportBefore and ImportAfter
Add Microsoft.NuGet.ImportBefore and ImportAfter files so .nuget.props and .nuget.targets files get picked up invoking 'dotnet build3'.

I also fixed some .xproj and .sln file issues to get our code to work in VS.
2016-07-12 18:44:16 -05:00
cartermp
e1be430f59 Add missing comma to F# lib project.json 2016-07-12 15:33:18 -07:00
Livar
caa4cf373c Merge pull request #3818 from livarcocc/pass_through_arguments
Pass through arguments to dotnet build3
2016-07-12 12:50:57 -07:00
Eric Erhardt
fc73287c53 Merge pull request #3789 from cartermp/fs-update
Update F# dotnet-new templates for Preview 2 (Enrico Sada rebase)
2016-07-12 13:45:43 -05:00
Livar Cunha
fd077bbf28 Adding a comment about the code that removes empty spaces from the arguments array but also breaks quoted arguments. We are picking the devil we know in this case. 2016-07-12 11:23:34 -07:00
Daniel Bradley
600da0a8ac Fix building from build.cmd on a path containing spaces
Add additional quoting when passing the initial command to powershell.
2016-07-11 23:36:54 +01:00
Piotr Puszkiewicz
08e9bc903e CLI Testing via msbuild (#3779)
* Rebase

* Remove Multi-Project Validator

* Remove projectmodelserver tests

* Enable test package creation

* Incremental test restore

* WiP

* Enable Test Asset Project restore

* Build Test Assets & Restore Test Projects

* Build Test projects

* Enable Test Execution

also moves Test Targets to a well-known CLI Version [Stage 2]

* Pass throuh existing telemetry profile

* 2-space tabs

* Revert TestTargets.cs

* WiP PR feedback

* Refactoring

* Fix naming of RestoreTestAssetPackages

* DotNetTest task

* Fix merge issue

* ExecuteWithCapturedOutput

MSBuild considers StdErr output to be failures. This causes output of any test command which is expected to produce an error to be swallowed in the test.

* Workaround for always-on tracing functionality in dotnet-test

* Fix Path Separator Windows/Unix

* Seperate package build from pack

* Windows Pathing issues

* PR Feedback

* Workaround for msbuild #773

https://github.com/Microsoft/msbuild/issues/773
2016-07-11 12:46:27 -07:00
Livar
ec7fc0fc2d Merge pull request #3822 from csMACnz/patch-1
Fix typo in `Avaiable` for `dotnet new --type` error output
2016-07-11 10:13:52 -07:00
Eric Erhardt
fa59167974 Merge pull request #3794 from freefair/rel/1.0.0
Fixed bug in build process with ReadOnly file flag
2016-07-11 09:25:21 -05:00
Mark Clearwater
6df15c341a Fix typo in Avaiable
* Should be Available
2016-07-09 19:10:54 +01:00
Livar Cunha
eaf9d9603d Fixing logic to remove already processed arguments in the case of bash scripts and adding a missing come in the case of the powershell script. 2016-07-08 16:40:44 -07:00
Livar Cunha
b1ca63c7de Because we are using a CI that is still built for our old custom build, we are passing arguments there that we no longer need and that MSBuild does not understand. We can't pass them along to MSBuild, so we need to filter them out. This is what we are doing here. 2016-07-08 16:10:08 -07:00
Jonathan Miller
9885196eef Merge pull request #3811 from sokket/buildtools
Bringing down BuildTools into the build
2016-07-08 13:56:06 -07:00
Livar
d4193cd5c1 Merge pull request #3808 from livarcocc/no_forward_std_err_out
Removing ForwardStdOut and ForwardStdErr from a couple of extra places
2016-07-08 13:50:12 -07:00
Livar Cunha
0a12e1e82b Passing through extra arguments to msbuild for our powershell script. 2016-07-08 13:39:49 -07:00
Livar Cunha
3d44a2b189 Adding support to pass parameters to msbuild through build.sh. Now we need to do it for powershell. 2016-07-08 13:38:57 -07:00
Jonathan Miller
ea9a41b81c Pulling in BuildTools into CLI via the build 2016-07-08 13:16:33 -07:00
Livar
36c9a04153 Merge pull request #3809 from livarcocc/align_run_build
Aligning the two versions of run-build
2016-07-08 09:55:29 -07:00
Jostein Kjønigsen
2cba2c7688 Handle missing terminal capabilities.
When probing for terminal capabilities, tput will return exit-code 1
when the attribute is not valid for the current terminal.

If we don't handle that exit-code, the shell-script too will exit with
failure.

This patch simply ignores errors for attributes we cannot use,
resulting in the same result as if we never probed for it in the first
place.
2016-07-08 10:10:20 +02:00
Livar
dedf3f981e Merge pull request #3806 from svick/patch-5
Fixed instructions to compile without tests
2016-07-07 16:18:33 -07:00
Livar Cunha
c2fdd41764 Aligning the two versions of run-build we have in what each do and the parameters they get. 2016-07-07 16:16:53 -07:00
Livar Cunha
17ef19e788 Removing ForwardStdOut and ForwardStdErr from the ConsoleTestRunner and from dotnet verbs that are not built-in. BuiltIn verbs were already not using it. 2016-07-07 14:51:35 -07:00
cartermp
fd1da95522 Don't print arguments in F# console app 2016-07-07 14:00:42 -07:00
Petr Onderka
6830c15b76 Fixed instructions to compile without tests 2016-07-07 19:16:53 +02:00
Dennis Fricke
38f75fd5c5 Update LibraryExporterExtensions.cs
- removed space
| moved method below StructuredCopyTo
2016-07-07 15:16:10 +02:00
Livar
9610500efc Merge pull request #3787 from livarcocc/msbuild_by_default
Msbuild by default
2016-07-06 22:44:54 -07:00
Livar Cunha
ffe995fbab Reverting the change to run-build.sh to handle additional parameters. I don't want to hold this PR for that work. having CI running is more important. 2016-07-06 16:52:58 -07:00
Livar Cunha
5d40e8b734 Fixing Ubuntu packaging issue, part 99 of hopefully 99. 2016-07-06 16:45:41 -07:00
Livar Cunha
8eb05a4deb Addressing code review comments and fixing another issue with deb installer generation. 2016-07-06 14:45:07 -07:00
Livar Cunha
4510d9803c Fixing the path for msbuild targets. 2016-07-06 13:46:54 -07:00
Livar Cunha
f400160a09 Trying to fix the ubuntu package generation break. I believe it happened because we were loading branchinfo in the init-tools, which means that the env variables defined there were not applied to commands ran from run-build.sh. 2016-07-06 13:35:34 -07:00
Livar Cunha
7e71a0217a Moving a bunch of code from init-tools to run-build.sh because of how exporting works in chained bash scripts. Something down in the tree does not flow back up. 2016-07-06 12:32:38 -07:00
Livar Cunha
889f4c3ec8 Fixing permissions for init-tools.sh and run-build.sh. 2016-07-06 12:04:59 -07:00
Livar Cunha
cdddc2e432 Addressing code review comments. Fixing issue with compile where we were not copying the msbuild files to the right place. Fixed an issue where we were trying to download installers for OSes that don't have installers. Added init-tools scripts. 2016-07-06 12:03:16 -07:00
Dennis Fricke
2084a099b8 Update LibraryExporterExtensions.cs
tabs -> spaces
2016-07-06 16:55:35 +02:00
Dennis Fricke
f769f9ea1c Update LibraryExporterExtensions.cs 2016-07-06 16:12:13 +02:00
cartermp
51e7ab465b Update F# dotnet-new templates for Preview 2 (Enrico Sada rebase)
This updates the F# templates for dotnet-new to be compatible with Preview 2.
2016-07-05 21:38:12 -07:00
Livar Cunha
c87652f8a0 Fixing build.cmd to invoke run_build.ps1. I forgot to update it before. 2016-07-05 16:56:05 -07:00
Livar Cunha
aebb42335c Changed dotnet stage0 to no longer pivot on OS. We just place it under dotnet_stage0/ 2016-07-05 16:28:00 -07:00
Livar Cunha
cc1bb54f1a Removing build scripts from dotnet-cli-build. Moving the stage0 to a run_build scripts and invoking dotnet build3 build.proj for the build. 2016-07-05 15:09:39 -07:00
Piotr Puszkiewicz
a19f9021a5 Fix ExeExtension on non-Windows (#3777) 2016-07-04 20:36:30 -07:00
Livar
5724544618 Merge pull request #3737 from livarcocc/compile_msbuild
Compile msbuild
2016-07-02 00:41:15 -07:00
Livar Cunha
f66ec9a789 Adding trailing slash back to OutputDirectory that I accidently removed when merging and improving the inputs for GenerateNuGetPackagesArchiveInputs to take into account the c# template and the dotnet-archive and Microsoft.Dotnet.Archive codes. 2016-07-01 20:46:54 -07:00
Livar Cunha
3c789c8230 Addressing more code review comments 2016-07-01 11:09:11 -07:00
Livar Cunha
5302a63aa3 Addressing more code review comments and removing the incrementality from BuildProjectsForNuGetPackages. All it does is invoke dotnet build, which already has incremental builds. I will let it handle this one. 2016-07-01 10:37:01 -07:00
Livar Cunha
2846a9b2e7 Fixing an issue where there was a new line in the path to dotnet.exe in the sharedframework and added incrementality to BuildProjectsForNuGetPackages. 2016-07-01 10:35:40 -07:00
Livar Cunha
9135be75f4 Addressing code review comments and making incremental build work. 2016-07-01 10:35:40 -07:00
Livar Cunha
52e9475be8 Fixed tabs to 2 spaces instead of 4 for our targets files 2016-07-01 10:34:29 -07:00
Livar Cunha
b8ccb0d1ae Adding CompileTargets.cs back. I got ahead of myself by removing it. We haven't switched our official builds to msbuild yet. 2016-07-01 10:34:29 -07:00