mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Remove outdated pre-compilation tasks from project file
The pre-compilation tasks referencing NHunspell and executing OS-specific scripts were removed from the project file. This cleanup streamlines the build process and removes dependencies on external scripts that are no longer necessary. Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
This commit is contained in:
parent
6dd17f90ac
commit
88a45822ae
@ -284,17 +284,7 @@
|
||||
<Compile Remove="Logic\VideoPlayers\DirectShowLib2005.cs" />
|
||||
<EmbeddedResource Remove="Forms\GetDictionaries.resx" />
|
||||
</ItemGroup>
|
||||
<Target Name="BeforeCompile">
|
||||
<XmlPeek XmlInputPath="$(ProjectDir)packages.config" Query="//package[@id='NHunspell']/@version">
|
||||
<Output TaskParameter="Result" PropertyName="HunspellVersion" />
|
||||
</XmlPeek>
|
||||
<PropertyGroup>
|
||||
<HunspellDir>..\..\packages\NHunspell.$(HunspellVersion)\content\</HunspellDir>
|
||||
</PropertyGroup>
|
||||
<Copy SourceFiles="@(HunspellAssemblies -> '$(HunspellDir)%(Identity)')" DestinationFolder="$(OutputPath)" SkipUnchangedFiles="True" />
|
||||
<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)')" />
|
||||
</Target>
|
||||
|
Loading…
Reference in New Issue
Block a user