75 lines
2.8 KiB
Plaintext
75 lines
2.8 KiB
Plaintext
|
<?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>
|
||
|
<CoreFolder>$(BinFolder)\core\$(Configuration)</CoreFolder>
|
||
|
<CorePackage>Lucene.Net.Core.nuspec</CorePackage>
|
||
|
</PropertyGroup>
|
||
|
<PropertyGroup Condition="'$(Area)' == 'core'">
|
||
|
<LocalBinFolder>$(BinFolder)\core\$(Configuration)</LocalBinFolder>
|
||
|
<ArtifactsFolder>$(BuildFolder)\artifacts\core</ArtifactsFolder>
|
||
|
</PropertyGroup>
|
||
|
<Target Name="package-core">
|
||
|
<Exec Command="$(PackageManager) $(ScriptsFolder)\Core\$(CorePackage) $(PackageManagerOptions) $(ArtifactsFolder)" />
|
||
|
</Target>
|
||
|
|
||
|
<Target Name="_core_build">
|
||
|
<ItemGroup>
|
||
|
<CoreProjectFiles Include="$(SourceFolder)\Core\*.csproj" />
|
||
|
<CoreProjectFiles Include="$(TestFolder)\Core\*.csproj" />
|
||
|
</ItemGroup>
|
||
|
<MSBuild Projects="@(CoreProjectFiles)" Properties="Configuration=$(Configuration);ExternalConstants=$(ExternalConstants)" />
|
||
|
<!-- Add "35" to the end of configuration to build .NET35 projects -->
|
||
|
<MSBuild Projects="@(CoreProjectFiles)" Properties="Configuration=$(Configuration)35;ExternalConstants=$(ExternalConstants)" />
|
||
|
</Target>
|
||
|
|
||
|
<Target Name="_core_properties">
|
||
|
|
||
|
<ItemGroup>
|
||
|
<!-- Binaries To Copy in case we which to store all build items -->
|
||
|
<BuildItems Include="$(CoreFolder)\**\*.*" />
|
||
|
|
||
|
<!-- Add To The List of Packages to Build -->
|
||
|
<PackageTargets Include="package-core" />
|
||
|
|
||
|
|
||
|
<!-- Assemblies To Test -->
|
||
|
<TestFiles Include="$(CoreFolder)\**\Lucene.Net.Test.dll" />
|
||
|
|
||
|
<!-- Files To Release -->
|
||
|
<ReleaseFiles Include="$(CoreFolder)\**\Lucene.Net.dll" />
|
||
|
<ReleaseFiles Include="$(CoreFolder)\**\Lucene.Net.XML" />
|
||
|
<ReleaseFiles Include="$(CoreFolder)\**\ICSharpCode.SharpZipLib.dll" />
|
||
|
|
||
|
<!-- Files to Analysis -->
|
||
|
<AnalysisFiles Include="$(CoreFolder)\**\Lucene.Net.dll" />
|
||
|
</ItemGroup>
|
||
|
</Target>
|
||
|
|
||
|
<Target Name="BuildCore">
|
||
|
<CallTarget Targets="_core_build" />
|
||
|
<CallTarget Targets="_core_properties" />
|
||
|
</Target>
|
||
|
</Project>
|