BootstrapAdmin/test/Directory.Build.props

16 lines
683 B
Plaintext
Raw Permalink Normal View History

<Project>
<Import Project="..\Directory.Build.props" />
<PropertyGroup>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
2019-11-12 11:46:12 +08:00
<Target Name="PostBuildTest" AfterTargets="PostBuildEvent">
2019-10-13 13:00:42 +08:00
<Message Text="Copy db file -> $(TargetDir)" Importance="high" />
<Copy Condition="'$(OS)' == 'Windows_NT'" DestinationFolder="$(TargetDir)" SourceFiles="$(MSBuildThisFileDirectory)..\src\admin\Bootstrap.Admin\BootstrapAdmin.db" SkipUnchangedFiles="true" />
<Copy Condition="'$(OS)' == 'UNIX'" DestinationFolder="$(TargetDir)" SourceFiles="$(MSBuildThisFileDirectory)../src/admin/Bootstrap.Admin/BootstrapAdmin.db" SkipUnchangedFiles="true" />
</Target>
</Project>