File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ let gitName = "FSharpx.Extras"
5353// The url for the raw files hosted
5454let gitRaw = Environment.environVarOrDefault " gitRaw" " https://raw.githubusercontent.com/fsprojects"
5555
56+ let outputDir = __ SOURCE_ DIRECTORY__ @@ " ../bin"
57+
5658// --------------------------------------------------------------------------------------
5759// END TODO: The rest of the file includes standard build steps
5860// --------------------------------------------------------------------------------------
@@ -102,7 +104,7 @@ let initTargets () =
102104 ]
103105 |> Seq.iter ( DotNet.publish ( fun p ->
104106 { p with
105- OutputPath= Some(__ SOURCE _ DIRECTORY __ @@ " bin " )
107+ OutputPath= Some outputDir
106108 Framework= Some" netstandard2.0"
107109
108110 }))
@@ -126,12 +128,12 @@ let initTargets () =
126128 Target.create " NuGet" ( fun _ ->
127129 solutionFile
128130 |> DotNet.pack ( fun p ->
129- { p with OutputPath= Some(__ SOURCE _ DIRECTORY __ @@ " bin " ) })
131+ { p with OutputPath= Some outputDir })
130132 )
131133
132134 Target.create " PublishNuget" ( fun _ ->
133135 Paket.push( fun p ->
134- { p with WorkingDir=__ SOURCE _ DIRECTORY __ @@ " bin " })
136+ { p with WorkingDir= outputDir })
135137 )
136138
137139
You can’t perform that action at this time.
0 commit comments