Skip to content

Commit

Permalink
Fix nuget dependencies - references #41
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Jan 23, 2014
1 parent abab7d5 commit d2fb307
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,10 @@ Target "CreateNuGet" (fun _ ->
OutputPath = nugetDir
Summary = projectSummary
Dependencies =
if package <> "FAKE.Core" && package <> projectName then
["FAKE.Core", RequireExactly (NormalizeVersion buildVersion)]
else p.Dependencies
("FSharp.Compiler.Service", GetPackageVersion "./packages/" "FSharp.Compiler.Service") ::
(if package <> "FAKE.Core" && package <> projectName then
["FAKE.Core", RequireExactly (NormalizeVersion buildVersion)]
else p.Dependencies)
AccessKey = getBuildParamOrDefault "nugetkey" ""
Publish = hasBuildParam "nugetkey"
ToolPath = "./tools/NuGet/nuget.exe" }) "fake.nuspec"
Expand Down

0 comments on commit d2fb307

Please sign in to comment.