Skip to content

Commit

Permalink
+added copying of string resources.
Browse files Browse the repository at this point in the history
  • Loading branch information
ermig1979 committed May 26, 2018
1 parent 9d6168c commit bfb7ddc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions cmd/CopyData.cmd
@@ -1,5 +1,5 @@
@echo off
set DATA_DIR=%1
set SRC_DIR=%1
set OUT_DIR=%2

if exist %OUT_DIR%\data (
Expand All @@ -12,4 +12,5 @@ echo Copy new data files:
mkdir %OUT_DIR%\data
mkdir %OUT_DIR%\data\resources

xcopy %DATA_DIR%\resources\* %OUT_DIR%\data\resources\* /y /i /s /e
xcopy %SRC_DIR%\data\resources\* %OUT_DIR%\data\resources\* /y /i /s /e
xcopy %SRC_DIR%\docs\data\resources\* %OUT_DIR%\data\resources\* /y /i /s /e
2 changes: 1 addition & 1 deletion src/AntiDupl/AntiDupl.NET/AntiDupl.NET.csproj
Expand Up @@ -66,7 +66,7 @@
</Target>
-->
<PropertyGroup>
<PostBuildEvent>$(SolutionDir)\..\..\cmd\CopyData.cmd $(SolutionDir)\..\..\docs\data $(SolutionDir)\..\..\bin\$(ConfigurationName)</PostBuildEvent>
<PostBuildEvent>$(SolutionDir)\..\..\cmd\CopyData.cmd $(SolutionDir)\..\.. $(SolutionDir)\..\..\bin\$(ConfigurationName)</PostBuildEvent>
<PreBuildEvent>$(SolutionDir)\Antidupl.NET\External.cmd $(SolutionDir)\Antidupl.NET</PreBuildEvent>
</PropertyGroup>
<ItemGroup>
Expand Down

0 comments on commit bfb7ddc

Please sign in to comment.