File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
src/Umbraco.Cms.Integrations.SEO.GoogleSearchConsole.UrlInspectionTool/build Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ <Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
2
+ <PropertyGroup >
3
+ <GoogleSearchConsolePropertyEditorFilesPath >
4
+ $(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\SEO\GoogleSearchConsole\**\*.*
5
+ </GoogleSearchConsolePropertyEditorFilesPath >
6
+ </PropertyGroup >
7
+ <Target Name =" CopyGoogleSearchConsolePropertyEditorAssets" BeforeTargets =" Build" >
8
+ <ItemGroup >
9
+ <GoogleSearchConsolePropertyEditorFiles Include =" $(GoogleSearchConsolePropertyEditorFilesPath)" />
10
+ </ItemGroup >
11
+ <Message
12
+ Text=" Copying Google Search Console Property Editor files: $(GoogleSearchConsolePropertyEditorFilesPath) - #@(GoogleSearchConsolePropertyEditorFiles->Count()) files"
13
+ Importance=" high" />
14
+ <Copy SourceFiles =" @(GoogleSearchConsolePropertyEditorFiles)"
15
+ DestinationFiles =" @(GoogleSearchConsolePropertyEditorFiles->'$(MSBuildProjectDirectory)\App_Plugins\UmbracoCms.Integrations\SEO\GoogleSearchConsole\%(RecursiveDir)%(Filename)%(Extension)')"
16
+ SkipUnchangedFiles =" true" />
17
+
18
+ </Target >
19
+
20
+ <Target Name =" ClearGoogleSearchConsolePropertyEditorAssets" BeforeTargets =" Clean" >
21
+ <ItemGroup >
22
+ <GoogleSearchConsolePropertyEditorDir
23
+ Include=" $(MSBuildProjectDirectory)\App_Plugins\UmbracoCms\SEO\GoogleSearchConsole\" />
24
+ </ItemGroup >
25
+ <Message Text =" Clear old Google Search Console Property Editor data" Importance =" high" />
26
+ <RemoveDir Directories =" @(GoogleSearchConsolePropertyEditorDir)" />
27
+ </Target >
28
+
29
+ </Project >
You can’t perform that action at this time.
0 commit comments