Commit Graph

134 Commits

Author SHA1 Message Date
Nate McMaster e1e2970a41
Refactor MultipleTriggers test to better handle multiple events raised on the same file 2018-05-08 15:51:12 -07:00
Nate McMaster e5da690702
Attempt to address flaky dotnet-watch tests 2018-05-03 20:15:03 -07:00
Nate McMaster e0e9eb0b36
Add pre-generated shims to dotnet tool packages 2018-05-01 16:57:36 -07:00
Nate McMaster 9b5015d6fe
Ensure restore settings and package versions flow into test projects during CI builds 2018-04-04 22:25:34 -07:00
Nate McMaster 6d4a632b96
Fix race condition in test code waiting for dotnet-watch to restart 2018-04-02 10:10:57 -07:00
Ryan Brandenburg 1f41b26145 Skip broken test 2018-03-30 15:19:20 -07:00
Nate McMaster d51a6951c7
Add more logging for flaky tests on CI (#393) 2018-02-12 12:29:13 -08:00
Ryan Brandenburg 74229e57db Fix FunctionalTests on fresh system 2018-01-10 15:49:59 -08:00
Nate McMaster 261b27b700 Port CLI tools to be dotnet global tools
- Rename package IDs to dotnet-watch, dotnet-user-secrets, and dotnet-sql-cache
- Change packaging layout to support dotnet-install-tool
- Change package metadata to DotnetTool
- Drop support for DotNetCliToolReference (those will continue to be available under previous package ID's)
- Rename project files and folders
2017-12-29 08:42:36 -08:00
Nate McMaster 1f3f010f87 Upgrade CLI tools to .NET Core 2.1 2017-12-12 14:37:47 -08:00
Nate McMaster 1836201bee Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
Javier Calvarro Nelson ff0f112d7b Add HTTPS developer certificate management tool 2017-10-17 11:22:32 -07:00
Nate McMaster f3bb4080b0 Use CustomAfterMicrosoftCommonTargets in dotnet-user-secrets 2017-09-26 11:59:29 -07:00
Nate McMaster 3dd029a8b5 Simplify the MSBuild targets in dotnet-watch
Use CustomAfterMicrosoftCommonTargets instead of MSBuildProjectExtensionsPath.
 - No more need to write to obj/$(Project).g.dotnetwatch.targets
 - Works on project that have changed default file locations via BaseIntermediateOutputPath

Simplify DotNetWatch targets
 - Condense to one targets file
 - Simplify dependency chain of targets
 - Build project references in a parallel
2017-09-26 11:59:29 -07:00
Nate McMaster 71a11d5ed6 Remove redundant calls to TimeoutAfter 2017-09-12 14:23:16 -07:00
Nate McMaster 97b9ff3b33 Use PackageLineup to manage PackageReference versions 2017-08-28 09:46:47 -07:00
Nate McMaster b0b8d6ded3 Update test apps to netcoreapp2.0 (#339) 2017-08-25 09:17:38 -07:00
Nate McMaster a4320ccbda Upgrade to xunit 2.3.0-beta4 2017-08-18 09:55:10 -07:00
Nate McMaster 14dcbdb9dd Remove duplicate PackageReference
[ci skip]
2017-08-07 10:05:30 -07:00
Nate McMaster 9c03018a18 Cleanup unnecessary NGPV exclusion and dead test code 2017-06-02 15:29:41 -07:00
Nate McMaster 34ea52068a Add --msbuildprojectextensionspath option to dotnet-watch
In the event someone wants to move the obj/ folder, MSBuild will not be able to locate dotnet-watch's generated targets. dotnet-watch cannot automatically find the obj folder (#244), so this command line switch allows users to point dotnet-watch to the right location.
2017-06-02 15:12:33 -07:00
Javier Calvarro Nelson 7ac72dd7d8 Add task for generating ssl certificates with MSBuild 2017-05-24 15:55:43 -07:00
Nate McMaster edcba47b84 Merge branch 'rel/1.0.1' into dev 2017-05-01 14:55:24 -07:00
Nate McMaster ed07fbe94a Remove blocking call to stream reader and fix bug in task chaining 2017-05-01 12:48:11 -07:00
Nate McMaster 88f43ffc1a Fix race conditions between CTRL+C and RunAsync in dotnet-watch
Increase timeouts in testing dotnet-run and improve verbosity of test logging
2017-04-28 10:34:18 -07:00
Pranav K d3d88481e2 Use Bundled NETStandard.Library \ NETCoreApp versions instead of explicitly specifying one 2017-04-25 12:47:25 -07:00
Nate McMaster 734c735fb5 Simplify console output and fix color output on CMD 2017-04-11 14:45:52 -07:00
Nate McMaster cd5fa7ec1f Update package verion to 1.0.1 rtm and pin build dependencies and tools 2017-04-11 14:34:07 -07:00
Nate McMaster f246dd3502 Upgrade test projects to .NET Core 2.0 2017-03-22 11:56:27 -07:00
Nate McMaster 13219fafa9 Remove code that moved into CommandLineUtils 2017-03-22 10:19:19 -07:00
Nate McMaster 1f8e8fae5d
React to aspnet/Common#205 2017-03-21 15:48:04 -07:00
Nate McMaster 8c32731282 Update dependencies and build version to 1.2.0
Unify dependencies
Remove duplcated code from CommandLineUtils
Update appveyor image
2017-03-14 12:22:25 -07:00
Nate McMaster 1bfa9c4b4b
Make it possible to detect that a process is running inside dotnet-watch by setting 'DOTNET_WATCH=1' 2017-03-13 13:00:22 -07:00
Nate McMaster c97dd446eb
Simplify console output and fix color output on CMD 2017-03-10 09:18:38 -08:00
Nate McMaster 5a444fa75c Cleanup project files and workaround, run tests on .NET Core 1.1 2017-02-10 08:26:17 -08:00
Nate McMaster fac6b44bbd Upgrade to RC.3 2017-01-20 11:08:47 -08:00
BrennanConroy 161d101da6 Change Xunit version 2017-01-17 16:24:00 -08:00
Nate McMaster e481df3d49 Add better errors, fix help output text, and add 'dotnet watch --list' to help us diagnose issues
Fixes #252 - help output shown twice in dotnet-watch
Fixes #250 - add dotnet-watch --list. Prints a list of all files discovered
Fixes #249 - better error message when GenerateWatchList fails
2017-01-17 11:43:44 -08:00
Nate McMaster d55948cae3
React to changes in KoreBuild 2016-12-14 19:30:44 -08:00
Nate McMaster fd632ec654 Cleanup msbuild layout
Use one props file for whole repo, avoiding layers of dir.props
2016-12-14 09:13:00 -08:00
Nate McMaster e94def7eca Re-enable tests for file delete detection in dotnet-watch
Microsoft.NET.Sdk fixed the underlying issue causing these tests to fail.

Resolves #224.
2016-12-13 10:04:19 -08:00
Nate McMaster 08e3e0b77f Cleanup dotnet-watch testing 2016-12-13 09:59:11 -08:00
Nate McMaster 346dfe8fe0 Remove dependency on Microsoft.DotNet.Cli.Utils from test project 2016-12-12 16:40:01 -08:00
Nate McMaster 902ff8dce3 Build with MSBuild 2016-12-12 15:55:00 -08:00
Nate McMaster d48f2abc7c Use MSBuild project extensions instead of importing the users project
Implicit imports prevents using <Import> on a project file that has the Sdk attribute. This change instead generates a file in the MSBuildProjectExtensionsPath to inject targets require to find the UserSecretsId property in a project.

Resolves #242
2016-12-08 09:55:22 -08:00
Nate McMaster f277816556
Update packaging for tools
Move targets files in to 'toolassets'. The 'tools' folder has conventions in NuGet that we don't want applied to these packages.

Downgrade to Microsoft.NETCore.App 1.0.0

Add 'prefercliruntime' package.
2016-12-07 09:37:34 -08:00
Nate McMaster fad1d2b645 Merge branch 'rel/1.0.0-msbuild2' into feature/msbuild 2016-12-06 09:35:00 -08:00
Prafull Bhosale 6decb66d8c Upgrade Cli.Utils to preview4-004215 2016-12-05 18:26:48 -08:00
Nate McMaster 17da5242e0
Create console reporter API
The reporter API breaks down complex formatter in to composable compontents. Adds 'ReporterBuilder' and 'FormatterBuilder' as syntax sugar for creating reporters with complex formatting rules

Changes in dotnet-watch
 - Remove dependency on Microsoft.Extensions.Logging and instead use IReporter for console output
 - Only use color output when stdout and stderr are not being redirected
 - Make the default output less noisy

Changes in dotnet-user-secrets
 - Remove dependency on Microsoft.Extensions.Logging to use IReporter

Changes in dotnet-sql-cache
 - Remove dependency on Microsoft.Extensions.Logging to use IReporter
 - Add --verbose option
2016-11-30 14:51:08 -08:00
Nate McMaster 4a64ef857c
Remove dependency on Microsoft.DotNet.Cli.Utils from dotnet-user-secrets 2016-11-21 19:14:36 -08:00