Skip to content

Commit

Permalink
Fix xunit publish (#3174)
Browse files Browse the repository at this point in the history
* close #3173 - fixed issue with XUnit project packing

* restored nuget command
  • Loading branch information
Aaronontheweb authored and marcpiechura committed Oct 24, 2017
1 parent e590d80 commit 52c7640
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 30 deletions.
36 changes: 8 additions & 28 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,32 +300,13 @@ let overrideVersionSuffix (project:string) =
| _ -> versionSuffix

Target "CreateNuget" (fun _ ->
let projects = !! "src/**/Akka.csproj"
++ "src/**/Akka.Cluster.csproj"
++ "src/**/Akka.Cluster.TestKit.csproj"
++ "src/**/Akka.Cluster.Tools.csproj"
++ "src/**/Akka.Cluster.Sharding.csproj"
++ "src/**/Akka.DistributedData.csproj"
++ "src/**/Akka.DistributedData.LightningDB.csproj"
++ "src/**/Akka.Persistence.csproj"
++ "src/**/Akka.Persistence.Query.csproj"
++ "src/**/Akka.Persistence.TCK.csproj"
++ "src/**/Akka.Persistence.Query.Sql.csproj"
++ "src/**/Akka.Persistence.Sql.Common.csproj"
++ "src/**/Akka.Persistence.Sql.TestKit.csproj"
++ "src/**/Akka.Persistence.Sqlite.csproj"
++ "src/**/Akka.Remote.csproj"
++ "src/**/Akka.Remote.TestKit.csproj"
++ "src/**/Akka.Streams.csproj"
++ "src/**/Akka.Streams.TestKit.csproj"
++ "src/**/Akka.TestKit.csproj"
++ "src/**/Akka.TestKit.Xunit.csproj"
++ "src/**/Akka.TestKit.Xunit2.csproj"
++ "src/**/Akka.DI.Core.csproj"
++ "src/**/Akka.DI.TestKit.csproj"
++ "src/**/Akka.Serialization.Hyperion.csproj"
++ "src/**/Akka.Serialization.TestKit.csproj"
++ "src/**/Akka.Remote.Transport.Helios.csproj"
let projects = !! "src/**/*.csproj"
-- "src/**/*.Tests*.csproj"
-- "src/benchmark/**/*.csproj"
-- "src/examples/**/*.csproj"
-- "src/**/*.MultiNodeTestRunner.csproj"
-- "src/**/*.MultiNodeTestRunner.Shared.csproj"
-- "src/**/*.NodeTestRunner.csproj"

let runSingleProject project =
DotNetCli.Pack
Expand Down Expand Up @@ -585,8 +566,7 @@ Target "Nuget" DoNothing
"Clean" ==> "RestorePackages" ==> "RunTestsNetCore"

// nuget dependencies
"BuildRelease" ==> "CreateMntrNuget" ==> "CreateNuget"
"CreateNuget" ==> "PublishNuget" ==> "Nuget"
"BuildRelease" ==> "CreateMntrNuget" ==> "CreateNuget" ==> "PublishNuget" ==> "Nuget"

// docs
"BuildRelease" ==> "Docfx"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
</PropertyGroup>

<PropertyGroup>
<!-- WORKAROUND: for some reason starting at Akka.NET 1.3.2 this package was determined as "unpackable" by default via DOTNET CLI -->
<IsPackable>true</IsPackable>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
</PropertyGroup>

<PropertyGroup>
<!-- WORKAROUND: for some reason starting at Akka.NET 1.3.2 this package was determined as "unpackable" by default via DOTNET CLI -->
<IsPackable>true</IsPackable>
</PropertyGroup>
</Project>

0 comments on commit 52c7640

Please sign in to comment.