66 lines
2.7 KiB
XML
66 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
(the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
-->
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
|
<!--
|
|
Core Projects Are:
|
|
Lucene.Net,
|
|
Lucene.Net.Test,
|
|
-->
|
|
<PropertyGroup>
|
|
<SpellCheckerFolder>$(BinFolder)\contrib\SpellChecker\$(Configuration)</SpellCheckerFolder>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Area)' == 'spellchecker'">
|
|
<LocalBinFolder>$(BinFolder)\contrib\SpellChecker\$(Configuration)</LocalBinFolder>
|
|
<ArtifactsFolder>$(BuildFolder)\artifacts\SpellChecker</ArtifactsFolder>
|
|
</PropertyGroup>
|
|
|
|
<Target Name="_spellchecker_build">
|
|
<ItemGroup>
|
|
<SpellCheckerProjectFiles Include="$(SourceFolder)\Contrib\SpellChecker\*.csproj" />
|
|
<SpellCheckerProjectFiles Include="$(TestFolder)\Contrib\SpellChecker\*.csproj" />
|
|
</ItemGroup>
|
|
|
|
<MSBuild Projects="@(SpellCheckerProjectFiles)" Properties="Configuration=$(Configuration);ExternalConstants=$(ExternalConstants)" />
|
|
<!-- Add "35" to the end of configuration to build .NET35 projects -->
|
|
<MSBuild Projects="@(SpellCheckerProjectFiles)" Properties="Configuration=$(Configuration)35;ExternalConstants=$(ExternalConstants)" />
|
|
</Target>
|
|
|
|
<Target Name="_spellchecker_properties">
|
|
<ItemGroup>
|
|
<!-- Binaries To Copy in case we which to store all build items -->
|
|
<BuildItems Include="$(SpellCheckerFolder)\**\*.*" />
|
|
|
|
<!-- Assemblies To Test -->
|
|
<TestFiles Include="$(SpellCheckerFolder)\**\Lucene.Net.Contrib.SpellChecker.Test.dll" />
|
|
|
|
<!-- Files To Release -->
|
|
<ReleaseFiles Include="$(SpellCheckerFolder)\**\Lucene.Net.Contrib.SpellChecker.dll" />
|
|
<ReleaseFiles Include="$(SpellCheckerFolder)\**\Lucene.Net.Contrib.SpellChecker.XML" />
|
|
|
|
<!-- Files to Analysis -->
|
|
<AnalysisFiles Include="$(SpellCheckerFolder)\**\Lucene.Net.Contrib.SpellChecker.dll" />
|
|
</ItemGroup>
|
|
</Target>
|
|
|
|
<Target Name="BuildSpellChecker">
|
|
<CallTarget Targets="_spellchecker_build" />
|
|
<CallTarget Targets="_spellchecker_properties" />
|
|
</Target>
|
|
</Project> |