Skip to content

Commit 7dc6fcb

Browse files
committed
fix #332
1 parent 5931e6f commit 7dc6fcb

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

RELEASE_NOTES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### 1.10.1 - Fix dependency in nuget package
2+
* Fix #332
3+
14
### 1.10.0 - Renamed to FSharpx.Extras
25
* Renamed to FSharpx.Core to FSharpx.Extras
36

build.fsx

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ RestorePackage()
1515

1616
// properties
1717
let currentDate = System.DateTime.UtcNow
18-
let projectName = "FSharpx.Extras"
1918

2019
let coreSummary = "FSharpx.Extras is a library for the .NET platform implementing general functional constructs on top of the F# core library."
2120
let projectSummary = "FSharpx.Extras is a library for the .NET platform implementing general functional constructs on top of the F# core library."
@@ -37,12 +36,12 @@ let nugDir = "./nuget"
3736
let nugetDir package = nugDir @@ package
3837
let nugetLibDir package = nugetDir package @@ "lib"
3938

40-
let packages = ["Extras"; "Text.StructuredFormat"]
39+
let packages = ["FSharpx.Extras"; "FSharpx.Text.StructuredFormat"]
4140

4241
let projectDesc = "FSharpx.Extras implements general functional constructs on top of the F# core library. Its main target is F# but it aims to be compatible with all .NET languages wherever possible."
4342

4443
let rec getPackageDesc = function
45-
| "Text.StructuredFormat" -> projectDesc + "\r\n\r\nThis library provides data structures and functoins for pretty printers."
44+
| "FSharpx.Text.StructuredFormat" -> projectDesc + "\r\n\r\nThis library provides data structures and functoins for pretty printers."
4645
| _ -> projectDesc + "\r\n\r\nIt currently implements:\r\n\r\n" +
4746
"* Several standard monads: State, Reader, Writer, Either, Continuation, Distribution\r\n" +
4847
"* Validation applicative functor\r\n" +
@@ -90,8 +89,8 @@ Target "AssemblyInfo" (fun _ ->
9089
{p with
9190
CodeLanguage = FSharp
9291
AssemblyVersion = release.AssemblyVersion
93-
AssemblyTitle = projectName
94-
AssemblyDescription = getPackageDesc "Extras"
92+
AssemblyTitle = "FSharpx.Extras"
93+
AssemblyDescription = getPackageDesc "FSharpx.Extras"
9594
Guid = "1e95a279-c2a9-498b-bc72-6e7a0d6854ce"
9695
OutputFileName = "./src/FSharpx.Extras/AssemblyInfo.fs" })
9796

@@ -101,7 +100,7 @@ Target "AssemblyInfo" (fun _ ->
101100
CodeLanguage = FSharp
102101
AssemblyVersion = release.AssemblyVersion
103102
AssemblyTitle = "FSharpx.Text.StructuredFormat"
104-
AssemblyDescription = getPackageDesc "Text.StructuredFormat"
103+
AssemblyDescription = getPackageDesc "FSharpx.Text.StructuredFormat"
105104
Guid = "65e077ed-f51a-42d7-8004-e90d60af8b8f"
106105
OutputFileName = "./src/FSharpx.Text.StructuredFormat/AssemblyInfo.fs" })
107106

@@ -135,7 +134,7 @@ Target "PrepareNuGet" (fun _ ->
135134
CleanDir frameworkSubDir
136135

137136
[for ending in ["dll";"pdb";"xml"] do
138-
yield buildDirVer fxVersion @@ sprintf "FSharpx.%s.%s" package ending]
137+
yield buildDirVer fxVersion @@ sprintf "%s.%s" package ending]
139138
|> Seq.filter File.Exists
140139
|> CopyTo frameworkSubDir)
141140

@@ -148,7 +147,7 @@ Target "NuGet" (fun _ ->
148147
NuGet (fun p ->
149148
{p with
150149
Authors = authors
151-
Project = projectName + "." + package
150+
Project = package
152151
WorkingDir = nugetDir package
153152
Description = getPackageDesc package
154153
Version = release.AssemblyVersion
@@ -157,7 +156,7 @@ Target "NuGet" (fun _ ->
157156
Publish = hasBuildParam "nugetkey"
158157
ToolPath = nugetPath
159158
Dependencies =
160-
if package = "Extras" then p.Dependencies
159+
if package = "FSharpx.Extras" then p.Dependencies
161160
else
162161
["FSharpx.Extras", RequireExactly (NormalizeVersion release.AssemblyVersion)] })
163162
"FSharpx.Extras.nuspec")

0 commit comments

Comments
 (0)