mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 14:32:35 +01:00
Add OS verification to projects
This commit is contained in:
parent
3873910aad
commit
d923703a3a
@ -37,7 +37,8 @@
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="InvokeBuildHelpers" BeforeTargets="BeforeCompile;CoreCompile">
|
||||
<Exec Command="%22$(SolutionDir)build_helpers.bat%22 rev %22$(ConfigurationName)%22" />
|
||||
<Exec Condition="'$(OS)' == 'Windows_NT'" Command="%22$(SolutionDir)build_helpers.bat%22 rev %22$(ConfigurationName)%22" />
|
||||
<Exec Condition="'$(OS)' == 'Unix'" Command="bash $(ProjectDir)../../build_helpers.sh rev $(ConfigurationName)" />
|
||||
</Target>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
|
@ -2648,7 +2648,8 @@
|
||||
<HunspellDir>..\..\packages\NHunspell.$(HunspellVersion)\content\</HunspellDir>
|
||||
</PropertyGroup>
|
||||
<Copy SourceFiles="@(HunspellAssemblies -> '$(HunspellDir)%(Identity)')" DestinationFolder="$(OutputPath)" SkipUnchangedFiles="True" />
|
||||
<Exec Command="%22$(SolutionDir)\build_helpers.bat%22 rev %22$(ConfigurationName)%22" />
|
||||
<Exec Condition="'$(OS)' == 'Windows_NT'" Command="%22$(SolutionDir)\build_helpers.bat%22 rev %22$(ConfigurationName)%22" />
|
||||
<Exec Condition="'$(OS)' == 'Unix'" Command="bash $(ProjectDir)../../build_helpers.sh rev $(ConfigurationName)" />
|
||||
</Target>
|
||||
<Target Name="BeforeClean">
|
||||
<Delete Files="@(HunspellAssemblies -> '$(OutputPath)%(Identity)')" />
|
||||
|
Loading…
Reference in New Issue
Block a user