diff options
Diffstat (limited to 'Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools')
9 files changed, 203 insertions, 0 deletions
diff --git a/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/lib/netcoreapp2.0/dotnet-watch.dll b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/lib/netcoreapp2.0/dotnet-watch.dll Binary files differnew file mode 100644 index 0000000000..2d359ba8e7 --- /dev/null +++ b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/lib/netcoreapp2.0/dotnet-watch.dll diff --git a/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/lib/netcoreapp2.0/dotnet-watch.runtimeconfig.json b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/lib/netcoreapp2.0/dotnet-watch.runtimeconfig.json new file mode 100644 index 0000000000..7539019b10 --- /dev/null +++ b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/lib/netcoreapp2.0/dotnet-watch.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "netcoreapp2.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "2.0.0" + } + } +}
\ No newline at end of file diff --git a/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/microsoft.dotnet.watcher.tools.2.0.0.nupkg b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/microsoft.dotnet.watcher.tools.2.0.0.nupkg Binary files differnew file mode 100644 index 0000000000..f99d058e5e --- /dev/null +++ b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/microsoft.dotnet.watcher.tools.2.0.0.nupkg diff --git a/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/microsoft.dotnet.watcher.tools.2.0.0.nupkg.sha512 b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/microsoft.dotnet.watcher.tools.2.0.0.nupkg.sha512 new file mode 100644 index 0000000000..4f5bd63d0c --- /dev/null +++ b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/microsoft.dotnet.watcher.tools.2.0.0.nupkg.sha512 @@ -0,0 +1 @@ +//UgdKyy1W4PHxC77HzhxEG/drLu9UplJe0UBa0161DH947quz+EJ0AEVCjDlFC7FnJKXfr5yDIYcuZUn5ux4Q==
\ No newline at end of file diff --git a/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/microsoft.dotnet.watcher.tools.nuspec b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/microsoft.dotnet.watcher.tools.nuspec new file mode 100644 index 0000000000..a482342f5f --- /dev/null +++ b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/microsoft.dotnet.watcher.tools.nuspec @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd"> + <metadata> + <id>Microsoft.DotNet.Watcher.Tools</id> + <version>2.0.0</version> + <authors>Microsoft</authors> + <owners>Microsoft</owners> + <requireLicenseAcceptance>true</requireLicenseAcceptance> + <licenseUrl>https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt</licenseUrl> + <projectUrl>https://asp.net/</projectUrl> + <iconUrl>https://go.microsoft.com/fwlink/?LinkID=288859</iconUrl> + <description>Command line tool to watch for source file changes during development and restart the dotnet command.</description> + <copyright>Copyright © Microsoft Corporation</copyright> + <tags>dotnet watch</tags> + <serviceable>true</serviceable> + <packageTypes> + <packageType name="DotnetCliTool" /> + </packageTypes> + <repository type="git" url="https://github.com/aspnet/DotNetTools" /> + <dependencies> + <group targetFramework=".NETCoreApp2.0"> + <dependency id="Microsoft.NETCore.App" version="2.0.0" exclude="Build,Analyzers" /> + </group> + </dependencies> + </metadata> +</package>
\ No newline at end of file diff --git a/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/prefercliruntime b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/prefercliruntime new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/prefercliruntime diff --git a/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/toolassets/DotNetWatchCommon.targets b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/toolassets/DotNetWatchCommon.targets new file mode 100644 index 0000000000..c3477393fc --- /dev/null +++ b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/toolassets/DotNetWatchCommon.targets @@ -0,0 +1,28 @@ +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + + <Target Name="_WriteGeneratedWatchList" > + <WriteLinesToFile Overwrite="true" + File="$(_DotNetWatchListFile)" + Lines="@(Watch -> '%(FullPath)')" /> + </Target> + + <!-- + ========================================================================= + _CollectWatchItems + + Invokes _CoreCollectWatchItems on each distinct project in _DotNetWatchProjects. + + Returns: @(Watch) + ========================================================================= + --> + <Target Name="_CollectWatchItems"> + <RemoveDuplicates Inputs="@(_DotNetWatchProjects)"> + <Output TaskParameter="Filtered" ItemName="_DotNetWatchProjectsFiltered" /> + </RemoveDuplicates> + <MSBuild + Targets="_CoreCollectWatchItems" + Projects="%(_DotNetWatchProjectsFiltered.FullPath)"> + <Output TaskParameter="TargetOutputs" ItemName="Watch"/> + </MSBuild> + </Target> +</Project>
\ No newline at end of file diff --git a/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/toolassets/DotNetWatchInner.targets b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/toolassets/DotNetWatchInner.targets new file mode 100644 index 0000000000..9bdd83dd6d --- /dev/null +++ b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/toolassets/DotNetWatchInner.targets @@ -0,0 +1,70 @@ +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + + <!-- + ========================================================================= + GenerateWatchList + + Main target called by dotnet-watch. This is the single-tfm version. + For multi-tfm version, see the Outer.targets file for description of the + design of this target. + ========================================================================= + --> + <Target Name="GenerateWatchList" + DependsOnTargets="_CollectWatchProjects;_CollectWatchItems;_WriteGeneratedWatchList" /> + + <!-- + ========================================================================= + _CoreCollectWatchItems + + Creates item group with default set of files to watch. + + Returns: @(Watch) + ========================================================================= + --> + <Target Name="_CoreCollectWatchItems" Returns="@(Watch)"> + <!-- message used to debug --> + <Message Importance="High" Text="Collecting watch items from '$(MSBuildProjectName)'" Condition="'$(_DotNetWatchTraceOutput)'=='true'" /> + <ItemGroup> + <Watch Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.Watch)' != 'false'" /> + <Watch Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.Watch)' != 'false'"/> + <Watch Include="$(MSBuildProjectFullPath)" /> + </ItemGroup> + </Target> + + <!-- + ========================================================================= + _CollectWatchProjects + + Adds all ProjectReference items to _DotNetWatchProjects. + Copies the project file extension file to all project references. + Invokes '_CollectWatchProjects' on all referenced projects. + + Returns: @(_DotNetWatchProjects) + ========================================================================= + --> + <Target Name="_CollectWatchProjects" + Returns="@(_DotNetWatchProjects)"> + <!-- message used to debug --> + <Message Importance="High" Text="Collecting referenced projects from '$(MSBuildProjectName)'" Condition="'$(_DotNetWatchTraceOutput)'=='true'" /> + <ItemGroup> + <_DotNetWatchProjects Include="@(ProjectReference->'%(FullPath)')" Condition="'%(ProjectReference.Watch)' != 'false'" /> + <_DotNetWatchImportsTargets Include="@(_DotNetWatchProjects->'%(RelativeDir)obj\%(FileName)%(Extension).dotnetwatch.targets')"> + <TargetsFile>$(_DotNetWatchTargetsFile)</TargetsFile> + </_DotNetWatchImportsTargets> + </ItemGroup> + + <Copy SourceFiles="@(_DotNetWatchImportsTargets->'%(TargetsFile)')" + DestinationFiles="@(_DotNetWatchImportsTargets)" + SkipUnchangedFiles="true" /> + + <MSBuild + Targets="_CollectWatchProjects" + Projects="%(_DotNetWatchProjects.FullPath)"> + <Output TaskParameter="TargetOutputs" ItemName="_DotNetWatchProjects"/> + </MSBuild> + + <ItemGroup> + <_DotNetWatchProjects Include="$(MSBuildProjectFullPath)"/> + </ItemGroup> + </Target> +</Project>
\ No newline at end of file diff --git a/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/toolassets/DotNetWatchOuter.targets b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/toolassets/DotNetWatchOuter.targets new file mode 100644 index 0000000000..f2dfb9e104 --- /dev/null +++ b/Tools/dotnetcli/sdk/NuGetFallbackFolder/microsoft.dotnet.watcher.tools/2.0.0/toolassets/DotNetWatchOuter.targets @@ -0,0 +1,69 @@ +<Project + xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + + <!-- + ========================================================================= + GenerateWatchList + + Main target called by dotnet-watch. This is the cross-targetting version. + For single-tfm, the 'GenerateWatchList' in Inner.targets is the main target. + + Phase 1: _CollectWatchProjects: + traverses the project-to-project graph to resolve all projects referenced. + Phase 2: _CollectWatchItems: + for each unique project file from phase 1, extracts all 'Watch' items and + collects into a single item group. All values should be a fullpath. + Phase 3: _WriteGeneratedWatchList: + write all files to a file that can be read by dotnet-watch + + ========================================================================= + --> + <Target Name="GenerateWatchList" + DependsOnTargets="_CollectWatchProjects;_CollectWatchItems;_WriteGeneratedWatchList" + /> + + <!-- + ========================================================================= + _CoreCollectWatchItems + + Shim for cross-targetting builds to run _CoreCollectWatchItems for each target + framework. + + Returns: @(Watch) + ========================================================================= + --> + <Target Name="_CoreCollectWatchItems" + Returns="@(Watch)"> + <ItemGroup> + <_TargetFramework Include="$(TargetFrameworks)" /> + </ItemGroup> + <MSBuild Projects="$(MSBuildProjectFile)" + Condition="'$(TargetFrameworks)' != '' " + Targets="_CoreCollectWatchItems" + Properties="TargetFramework=%(_TargetFramework.Identity)"> + <Output ItemName="Watch" TaskParameter="TargetOutputs" /> + </MSBuild> + </Target> + + <!-- + ========================================================================= + _CollectWatchProjects + + Shim for cross-targetting builds to run _CollectWatchProjects for each target + framework. + + Returns: @(_DotNetWatchProjects) + ========================================================================= + --> + <Target Name="_CollectWatchProjects" Returns="@(_DotNetWatchProjects)"> + <ItemGroup> + <_TargetFramework Include="$(TargetFrameworks)" /> + </ItemGroup> + <MSBuild Projects="$(MSBuildProjectFile)" + Condition="'$(TargetFrameworks)' != '' " + Targets="_CollectWatchProjects" + Properties="TargetFramework=%(_TargetFramework.Identity)"> + <Output ItemName="_DotNetWatchProjects" TaskParameter="TargetOutputs" /> + </MSBuild> + </Target> +</Project> |