mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
Remove unused package projects (#2026)
* Remove unused package projects * Remove build step
This commit is contained in:
@@ -212,10 +212,10 @@ steps:
|
||||
MaxConcurrency: 5
|
||||
|
||||
- task: BatchScript@1
|
||||
displayName: 'Package published projects'
|
||||
displayName: 'Package nuspec projects'
|
||||
inputs:
|
||||
filename: build.cmd
|
||||
arguments: '-target=dotnetpackpublished -mono'
|
||||
arguments: '-target=DotnetPackNuspec -mono'
|
||||
|
||||
- task: BatchScript@1
|
||||
displayName: "Build and Package service tool projects"
|
||||
|
||||
19
build.cake
19
build.cake
@@ -54,7 +54,6 @@ public class BuildPlan
|
||||
// The set of projects that we want to call dotnet pack on directly
|
||||
public string[] PackageProjects { get; set; }
|
||||
// The set of projects that we want to call dotnet pack on which require publishing being done first
|
||||
public string[] PackagePublishedProjects { get; set; }
|
||||
public string[] DotnetToolProjects { get; set; }
|
||||
public Project[] Projects{ get; set; }
|
||||
}
|
||||
@@ -299,24 +298,6 @@ Task("DotnetPack")
|
||||
}
|
||||
});
|
||||
|
||||
/// <summary>
|
||||
/// Packages projects specified in PackagePublishedProjects, these projects require that publishing be done first. Note that we
|
||||
/// don't do the publishing here because we need the binaries to be signed before being packaged up and that is done by the pipeline
|
||||
/// currently.
|
||||
/// </summary>
|
||||
Task("DotnetPackPublished")
|
||||
.IsDependentOn("DotnetPackNuspec")
|
||||
.Does(() =>
|
||||
{
|
||||
foreach (var project in buildPlan.PackagePublishedProjects)
|
||||
{
|
||||
// For now, putting all nugets in the 1 directory
|
||||
var outputFolder = System.IO.Path.Combine(nugetPackageFolder);
|
||||
var projectFolder = System.IO.Path.Combine(packagesFolder, project);
|
||||
DotnetPack(outputFolder, projectFolder, project);
|
||||
}
|
||||
});
|
||||
|
||||
/// <summary>
|
||||
/// Packages projects specified in FxBuildProjects using available Nupecs, these projects require that publishing be done first. Note that we
|
||||
/// don't do the publishing here because we need the binaries to be signed before being packaged up and that is done by the pipeline
|
||||
|
||||
16
build.json
16
build.json
@@ -42,22 +42,6 @@
|
||||
"PackageProjects": [
|
||||
"Microsoft.SqlTools.Hosting"
|
||||
],
|
||||
"PackagePublishedProjects": [
|
||||
"Microsoft.SqlToolsService",
|
||||
"runtime.centos.7-x64.native.Microsoft.SqlToolsService",
|
||||
"runtime.debian.8-x64.native.Microsoft.SqlToolsService",
|
||||
"runtime.fedora.23-x64.native.Microsoft.SqlToolsService",
|
||||
"runtime.linux-x64.native.Microsoft.SqlToolsService",
|
||||
"runtime.opensuse.13.2-x64.native.Microsoft.SqlToolsService",
|
||||
"runtime.osx-x64.native.Microsoft.SqlToolsService",
|
||||
"runtime.rhel.7.2-x64.native.Microsoft.SqlToolsService",
|
||||
"runtime.ubuntu.14.04-x64.native.Microsoft.SqlToolsService",
|
||||
"runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService",
|
||||
"runtime.win-x64.native.Microsoft.SqlToolsService",
|
||||
"runtime.osx-arm64.native.Microsoft.SqlToolsService",
|
||||
"runtime.win-arm64.native.Microsoft.SqlToolsService",
|
||||
"runtime.linux-arm64.native.Microsoft.SqlToolsService"
|
||||
],
|
||||
"DotnetToolProjects": [
|
||||
"Microsoft.SqlTools.ServiceLayer",
|
||||
"Microsoft.Kusto.ServiceLayer",
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
<Project>
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
|
||||
<PropertyGroup>
|
||||
<!--- Do not glob C# source files and other project items -->
|
||||
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
||||
<EnableDefaultNoneItems>false</EnableDefaultNoneItems>
|
||||
<IsPackable>true</IsPackable>
|
||||
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OUTPUT_DIR>$(MSBuildThisFileDirectory)</OUTPUT_DIR>
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<PackageIcon>images\sqlserver.png</PackageIcon>
|
||||
<PackageIconFullPath></PackageIconFullPath>
|
||||
<Authors>Microsoft</Authors>
|
||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
|
||||
<PackageProjectUrl>https://github.com/Microsoft/sqltoolsservice</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/Microsoft/sqltoolsservice</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Include="../images/sqlserver.png" Pack="true" PackagePath="images/" />
|
||||
<None Include="../lib/_._" Pack="true" PackagePath="lib/$(TargetFramework)/" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,41 +0,0 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<!-- We don't need to generate a DLL, but we still want to include the build targets so we get the project references added as dependencies in the package -->
|
||||
<NoBuild>
|
||||
true
|
||||
</NoBuild>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<PackageDescription>
|
||||
Root package for .NET client SQL Tools Service application. This package is intended to be used by internal applications only and should not be referenced directly.
|
||||
</PackageDescription>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="../runtime.centos.7-x64.native.Microsoft.SqlToolsService/runtime.centos.7-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
|
||||
<ProjectReference Include="../runtime.debian.8-x64.native.Microsoft.SqlToolsService/runtime.debian.8-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
|
||||
<ProjectReference Include="../runtime.fedora.23-x64.native.Microsoft.SqlToolsService/runtime.fedora.23-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
|
||||
<ProjectReference Include="../runtime.linux-x64.native.Microsoft.SqlToolsService/runtime.linux-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
|
||||
<ProjectReference Include="../runtime.opensuse.13.2-x64.native.Microsoft.SqlToolsService/runtime.opensuse.13.2-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
|
||||
<ProjectReference Include="../runtime.osx-x64.native.Microsoft.SqlToolsService/runtime.osx-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
|
||||
<ProjectReference Include="../runtime.osx-arm64.native.Microsoft.SqlToolsService/runtime.osx-arm64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
|
||||
<ProjectReference Include="../runtime.rhel.7.2-x64.native.Microsoft.SqlToolsService/runtime.rhel.7.2-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
|
||||
<ProjectReference Include="../runtime.ubuntu.14.04-x64.native.Microsoft.SqlToolsService/runtime.ubuntu.14.04-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
|
||||
<ProjectReference Include="../runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService/runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
|
||||
<ProjectReference Include="../runtime.win-x64.native.Microsoft.SqlToolsService/runtime.win-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
|
||||
<ProjectReference Include="../runtime.win-arm64.native.Microsoft.SqlToolsService/runtime.win-arm64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
|
||||
<ProjectReference Include="../runtime.linux-arm64.native.Microsoft.SqlToolsService/runtime.linux-arm64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="runtime.linux-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
|
||||
<PackageReference Include="runtime.debian.8-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
|
||||
<PackageReference Include="runtime.opensuse.13.2-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
|
||||
<PackageReference Include="runtime.osx-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
|
||||
<PackageReference Include="runtime.osx-arm64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
|
||||
<PackageReference Include="runtime.rhel.7.2-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
|
||||
<PackageReference Include="runtime.ubuntu.14.04-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
|
||||
<PackageReference Include="runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
|
||||
<PackageReference Include="runtime.win-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
|
||||
<PackageReference Include="runtime.win-arm64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
|
||||
<PackageReference Include="runtime.linux-arm64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,3 +0,0 @@
|
||||
This directory contains projects that only handle packaging up the published artifacts for SQL Tools Service.
|
||||
|
||||
There is one root project - `Microsoft.SqlToolsService`, and then a sub-project for each runtime that we currently support. The root project has a package dependency on each of the sub projects so that consumers only need to take a reference to the root project to be able to get all the necessary files for each platform.
|
||||
@@ -1,9 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets">
|
||||
<PropertyGroup>
|
||||
<PackageDescription>SQL Tools Service application for the centos.7-x64 runtime. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="../../artifacts/publish/Microsoft.SqlTools.ServiceLayer/centos.7-x64/$(TargetFramework)/**" Pack="true" PackagePath="runtimes/centos.7-x64/native" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,9 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets">
|
||||
<PropertyGroup>
|
||||
<PackageDescription>SQL Tools Service application for the debian.8-x64 runtime. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="../../artifacts/publish/Microsoft.SqlTools.ServiceLayer/debian.8-x64/$(TargetFramework)/**" Pack="true" PackagePath="runtimes/debian.8-x64/native" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,9 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets">
|
||||
<PropertyGroup>
|
||||
<PackageDescription>SQL Tools Service application for the fedora.23-x64 runtime. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="../../artifacts/publish/Microsoft.SqlTools.ServiceLayer/fedora.23-x64/$(TargetFramework)/**" Pack="true" PackagePath="runtimes/fedora.23-x64/native" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,9 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets">
|
||||
<PropertyGroup>
|
||||
<PackageDescription>SQL Tools Service application for the linux-arm64 runtime. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="../../artifacts/publish/Microsoft.SqlTools.ServiceLayer/linux-arm64/$(TargetFramework)/**" Pack="true" PackagePath="runtimes/linux-arm64/native" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,9 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets">
|
||||
<PropertyGroup>
|
||||
<PackageDescription>SQL Tools Service application for the linux-x64 runtime. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="../../artifacts/publish/Microsoft.SqlTools.ServiceLayer/linux-x64/$(TargetFramework)/**" Pack="true" PackagePath="runtimes/linux-x64/native" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,9 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets">
|
||||
<PropertyGroup>
|
||||
<PackageDescription>SQL Tools Service application for the opensuse.13.2-x64 runtime. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="../../artifacts/publish/Microsoft.SqlTools.ServiceLayer/opensuse.13.2-x64/$(TargetFramework)/**" Pack="true" PackagePath="runtimes/opensuse.13.2-x64/native" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,9 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets">
|
||||
<PropertyGroup>
|
||||
<PackageDescription>SQL Tools Service application for the osx-arm64 runtime. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="../../artifacts/publish/Microsoft.SqlTools.ServiceLayer/osx-arm64/$(TargetFramework)/**" Pack="true" PackagePath="runtimes/osx-arm64/native" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,9 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets">
|
||||
<PropertyGroup>
|
||||
<PackageDescription>SQL Tools Service application for the osx-x64 runtime. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="../../artifacts/publish/Microsoft.SqlTools.ServiceLayer/osx-x64/$(TargetFramework)/**" Pack="true" PackagePath="runtimes/osx-x64/native" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,9 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets">
|
||||
<PropertyGroup>
|
||||
<PackageDescription>SQL Tools Service application for the rhel.7.2-x64 runtime. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="../../artifacts/publish/Microsoft.SqlTools.ServiceLayer/rhel.7.2-x64/$(TargetFramework)/**" Pack="true" PackagePath="runtimes/rhel.7.2-x64/native" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,9 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets">
|
||||
<PropertyGroup>
|
||||
<PackageDescription>SQL Tools Service application for the ubuntu.14.04-x64 runtime. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="../../artifacts/publish/Microsoft.SqlTools.ServiceLayer/ubuntu.14.04-x64/$(TargetFramework)/**" Pack="true" PackagePath="runtimes/ubuntu.14.04-x64/native" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,9 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets">
|
||||
<PropertyGroup>
|
||||
<PackageDescription>SQL Tools Service application for the ubuntu.16.04-x64 runtime. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="../../artifacts/publish/Microsoft.SqlTools.ServiceLayer/ubuntu.16.04-x64/$(TargetFramework)/**" Pack="true" PackagePath="runtimes/ubuntu.16.04-x64/native" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,9 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets">
|
||||
<PropertyGroup>
|
||||
<PackageDescription>SQL Tools Service application for the win-arm64 runtime. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="../../artifacts/publish/Microsoft.SqlTools.ServiceLayer/win-arm64/$(TargetFramework)/**" Pack="true" PackagePath="runtimes/win-arm64/native" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,9 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets">
|
||||
<PropertyGroup>
|
||||
<PackageDescription>SQL Tools Service application for the win-x64 runtime. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="../../artifacts/publish/Microsoft.SqlTools.ServiceLayer/win-x64/$(TargetFramework)/**" Pack="true" PackagePath="runtimes/win-x64/native" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user