Skip to content

Commit

Permalink
Added roundhouse.lib and roundhouse.msbuild nuget packages to output …
Browse files Browse the repository at this point in the history
…production
  • Loading branch information
erikbra committed Oct 27, 2017
1 parent 956ead9 commit 0bf09d9
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 5 deletions.
5 changes: 3 additions & 2 deletions product/roundhouse.console/roundhouse.console.csproj
Expand Up @@ -20,6 +20,7 @@
<Version Condition="'$(Version)' == ''">$(VersionPrefix)</Version> <Version Condition="'$(Version)' == ''">$(VersionPrefix)</Version>
<Version Condition="'$(Version)' == '$(VersionPrefix)' And '$(VersionSuffix)' != ''">$(Version)-$(VersionSuffix)</Version> <Version Condition="'$(Version)' == '$(VersionPrefix)' And '$(VersionSuffix)' != ''">$(Version)-$(VersionSuffix)</Version>
<NugetVersion Condition="'$(NugetVersion)' == ''">$(Version)</NugetVersion> <NugetVersion Condition="'$(NugetVersion)' == ''">$(Version)</NugetVersion>

</PropertyGroup> </PropertyGroup>


<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down Expand Up @@ -107,7 +108,7 @@


<!-- Nuspec properties (for generating NuGet package) --> <!-- Nuspec properties (for generating NuGet package) -->
<PropertyGroup> <PropertyGroup>
<NuspecFile>..\..\nuget\roundhouse\roundhouse.nuspec</NuspecFile> <NuspecFile>roundhouse.nuspec</NuspecFile>
<NuspecProperties>mergedExe=$(ILMergeTarget);version=$(NugetVersion)</NuspecProperties> <NuspecProperties>mergedExe=$(ILMergeTarget);version=$(NugetVersion)</NuspecProperties>
</PropertyGroup> </PropertyGroup>


Expand All @@ -117,7 +118,7 @@
<NugetPackages Include="$(OutputPath)..\**\*.nupkg" /> <NugetPackages Include="$(OutputPath)..\**\*.nupkg" />
</ItemGroup> </ItemGroup>


<Copy SourceFiles="@(NugetPackages)" DestinationFolder="$(DropFolder)" /> <Copy SourceFiles="@(NugetPackages)" DestinationFolder="$(DropFolder)\packages" />
</Target> </Target>


</Project> </Project>
File renamed without changes.
30 changes: 29 additions & 1 deletion product/roundhouse.tasks/roundhouse.tasks.csproj
Expand Up @@ -14,6 +14,25 @@
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<OutputPath>bin\$(Configuration)\</OutputPath> <OutputPath>bin\$(Configuration)\</OutputPath>


<VersionPrefix>0.8.9</VersionPrefix>
<VersionSuffix>alpha</VersionSuffix>
<Version Condition="'$(Version)' == ''">$(VersionPrefix)</Version>
<Version Condition="'$(Version)' == '$(VersionPrefix)' And '$(VersionSuffix)' != ''">$(Version)-$(VersionSuffix)</Version>
<NugetVersion Condition="'$(NugetVersion)' == ''">$(Version)</NugetVersion>

<PackageVersion>$(NugetVersion)</PackageVersion>
<PackageId>roundhouse.msbuild</PackageId>
<Title>RoundhousE MSBuild</Title>
<Authors>Rob Reynolds</Authors>
<Description>RoundhousE is a Professional Database Change and Versioning Management tool.</Description>
<PackageProjectUrl>http://projectroundhouse.org</PackageProjectUrl>
<PackageLicenseUrl>http://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageTags>roundhouse db migration database migrator chucknorris</PackageTags>
<PackageIconUrl>https://raw.github.com/chucknorris/roundhouse/master/nuget/RoundhousE_Logo.NuGet.jpg</PackageIconUrl>

</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -67,5 +86,14 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\roundhouse\roundhouse.csproj" /> <ProjectReference Include="..\roundhouse\roundhouse.csproj" />
</ItemGroup> </ItemGroup>
<Import Project=".\targets\Microsoft.Application.targets" />
<!-- Copy to drop folder after packaging -->
<Target Name="CopyToDropFolder" AfterTargets="Pack" Condition="'$(DropFolder)' != ''">
<ItemGroup>
<NugetPackages Include="$(OutputPath)..\**\*.nupkg" />
</ItemGroup>

<Copy SourceFiles="@(NugetPackages)" DestinationFolder="$(DropFolder)\packages" />
</Target>

</Project> </Project>
32 changes: 30 additions & 2 deletions product/roundhouse/roundhouse.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0"> <Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net461</TargetFramework> <TargetFrameworks>net461</TargetFrameworks>
<CLSCompliant>true</CLSCompliant> <CLSCompliant>true</CLSCompliant>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo> <GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand All @@ -15,6 +15,25 @@
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<OutputPath>bin\$(Configuration)\</OutputPath> <OutputPath>bin\$(Configuration)\</OutputPath>

<VersionPrefix>0.8.9</VersionPrefix>
<VersionSuffix>alpha</VersionSuffix>
<Version Condition="'$(Version)' == ''">$(VersionPrefix)</Version>
<Version Condition="'$(Version)' == '$(VersionPrefix)' And '$(VersionSuffix)' != ''">$(Version)-$(VersionSuffix)</Version>
<NugetVersion Condition="'$(NugetVersion)' == ''">$(Version)</NugetVersion>

<PackageVersion>$(NugetVersion)</PackageVersion>
<PackageId>roundhouse.lib</PackageId>
<Title>RoundhousE</Title>
<Authors>Rob Reynolds</Authors>
<Description>RoundhousE is a Professional Database Change and Versioning Management tool.</Description>
<PackageProjectUrl>http://projectroundhouse.org</PackageProjectUrl>
<PackageLicenseUrl>http://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageTags>roundhouse db migration database migrator chucknorris</PackageTags>
<PackageIconUrl>https://raw.github.com/chucknorris/roundhouse/master/nuget/RoundhousE_Logo.NuGet.jpg</PackageIconUrl>


</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -68,5 +87,14 @@
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="infrastructure.app\logging\log4net.config.no.console.xml" /> <EmbeddedResource Include="infrastructure.app\logging\log4net.config.no.console.xml" />
</ItemGroup> </ItemGroup>
<Import Project=".\targets\Microsoft.Application.targets" />
<!-- Copy to drop folder after packaging -->
<Target Name="CopyToDropFolder" AfterTargets="Pack" Condition="'$(DropFolder)' != ''">
<ItemGroup>
<NugetPackages Include="$(OutputPath)..\**\*.nupkg" />
</ItemGroup>

<Copy SourceFiles="@(NugetPackages)" DestinationFolder="$(DropFolder)\packages" />
</Target>

</Project> </Project>

0 comments on commit 0bf09d9

Please sign in to comment.