File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
src/Umbraco.Cms.Integrations.SEO.Semrush/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
+ <SemrushPropertyEditorFilesPath >
4
+ $(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\SEO\Semrush\**\*.*
5
+ </SemrushPropertyEditorFilesPath >
6
+ </PropertyGroup >
7
+ <Target Name =" CopySemrushPropertyEditorAssets" BeforeTargets =" Build" >
8
+ <ItemGroup >
9
+ <SemrushPropertyEditorFiles Include =" $(SemrushPropertyEditorFilesPath)" />
10
+ </ItemGroup >
11
+ <Message
12
+ Text=" Copying Semrush Property Editor files: $(SemrushPropertyEditorFilesPath) - #@(SemrushPropertyEditorFiles->Count()) files"
13
+ Importance=" high" />
14
+ <Copy SourceFiles =" @(SemrushPropertyEditorFiles)"
15
+ DestinationFiles =" @(SemrushPropertyEditorFiles->'$(MSBuildProjectDirectory)\App_Plugins\UmbracoCms.Integrations\SEO\Semrush\%(RecursiveDir)%(Filename)%(Extension)')"
16
+ SkipUnchangedFiles =" true" />
17
+
18
+ </Target >
19
+
20
+ <Target Name =" ClearSemrushPropertyEditorAssets" BeforeTargets =" Clean" >
21
+ <ItemGroup >
22
+ <SemrushPropertyEditorDir
23
+ Include=" $(MSBuildProjectDirectory)\App_Plugins\UmbracoCms\SEO\Semrush\" />
24
+ </ItemGroup >
25
+ <Message Text =" Clear old Semrush Property Editor data" Importance =" high" />
26
+ <RemoveDir Directories =" @(SemrushPropertyEditorDir)" />
27
+ </Target >
28
+
29
+ </Project >
You can’t perform that action at this time.
0 commit comments