-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.proj
57 lines (46 loc) · 2.02 KB
/
doc.proj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<Project>
<ItemGroup>
<Watch Include="*.proj" />
<Watch Include="src/docs/**/*.r.md" />
<Watch Include="src/docs/**/*.source.md" />
<Watch Include="src/code/**/*.cs" />
<Watch Remove="src/code/**/obj/**/*.cs" />
</ItemGroup>
<Target Name="Build">
<MSBuild Projects="src/code/MoreLinq.Examples.csproj" Properties="Configuration=Debug" Targets="Restore;Build" />
<Exec Command="$([System.IO.Path]::Combine('tools', 'mdsnippets')) src" />
<Exec Command="$([System.IO.Path]::Combine('tools', 'dotnet-script')) scripts/CopyMarkdownTree.csx -- -v" />
</Target>
<!--
Targets below were derived from:
https://github.com/aspnet/AspNetCore/blob/v2.2.2/src/Tools/dotnet-watch/src/assets/DotNetWatch.targets
See also "Custom watch projects" in:
https://github.com/aspnet/Docs/blob/a7609c3d5af84f9391f24dad02a00b660d849aa4/aspnetcore/tutorials/dotnet-watch.md#custom-watch-projects
-->
<!--
=========================================================================
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="_CoreCollectWatchItems;_WriteGeneratedWatchList" />
<!--
=========================================================================
_CoreCollectWatchItems
Creates item group with default set of files to watch.
Returns: @(Watch)
=========================================================================
-->
<Target Name="_CoreCollectWatchItems" Returns="@(Watch)">
<!-- message used to debug -->
<Message Text="_DotNetWatchListFile = $(_DotNetWatchListFile)" />
</Target>
<Target Name="_WriteGeneratedWatchList" >
<WriteLinesToFile Overwrite="true"
File="$(_DotNetWatchListFile)"
Lines="@(Watch -> '%(FullPath)')" />
</Target>
</Project>