File tree 1 file changed +8
-15
lines changed
1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -214,39 +214,32 @@ let dotnet workDir = runCmdIn workDir "dotnet"
214
214
Target " DotnetGenerate" ^ fun _ ->
215
215
GenNetcore.generateNetcoreProjects __ SOURCE_ DIRECTORY__
216
216
217
- let netcoreFiles = !! " src/netcore/*/*.fsproj " |> Seq.toList
217
+ let netcoresln = " src/netcore/FSharp.Editing.netcore.sln "
218
218
219
219
Target " DotnetRestore" ^ fun _ ->
220
- try netcoreFiles |> Seq.iter ^ fun proj ->
221
- DotNetCli.Restore ^ fun c ->
220
+ try DotNetCli.Restore ^ fun c ->
222
221
{ c with
223
- Project = proj
222
+ Project = netcoresln
224
223
ToolPath = dotnetExePath
225
- //AdditionalArgs =
226
- //[ "-s https://dotnet.myget.org/F/roslyn/api/v3/index.json"
227
- // "-s https://dotnet.myget.org/F/dotnet-corefxlab/api/v3/index.json"
228
- //]}
229
224
}
230
225
with ex -> traceError ex.Message
231
226
232
227
Target " DotnetBuild" ^ fun _ ->
233
- netcoreFiles |> Seq.iter ^ fun proj ->
234
228
DotNetCli.Build ^ fun c ->
235
229
{ c with
236
- Project = proj
230
+ Project = netcoresln
237
231
ToolPath = dotnetExePath
238
- // Configuration = "Release"
239
- // AdditionalArgs = [ "/ds"; "/m"; (*"/pp"*) ]
232
+ Configuration = " Release"
233
+ AdditionalArgs = [ " /ds" ; " /m" ; (* "/pp"*) ]
240
234
}
241
235
242
236
243
237
Target " DotnetPackage" ^ fun _ ->
244
- netcoreFiles |> Seq.iter ^ fun proj ->
245
238
DotNetCli.Pack ^ fun c ->
246
239
{ c with
247
- Project = proj
240
+ Project = netcoresln
248
241
ToolPath = dotnetExePath
249
- AdditionalArgs = [( sprintf " -o %s " currentDirectory </> tempDir </> " dotnetcore" ); ( sprintf " /p:Version=%s " release.NugetVersion)]
242
+ AdditionalArgs = [( sprintf " -o %s " currentDirectory </> tempDir </> " dotnetcore" ); ( sprintf " /p:Version=%s -alpha " release.NugetVersion)]
250
243
}
251
244
252
245
You can’t perform that action at this time.
0 commit comments