Skip to content

Commit

Permalink
removed restore stage - no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Mar 12, 2019
1 parent b000b76 commit df0342c
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,6 @@ Target "AssemblyInfo" (fun _ ->
XmlPokeInnerText "./src/common.props" "//Project/PropertyGroup/PackageReleaseNotes" (releaseNotes.Notes |> String.concat "\n")
)

Target "RestorePackages" (fun _ ->
let additionalArgs = if versionSuffix.Length > 0 then [sprintf "/p:VersionSuffix=%s" versionSuffix] else []

DotNetCli.Restore
(fun p ->
{ p with
Project = solution
NoCache = false
AdditionalArgs = additionalArgs })
)

Target "Build" (fun _ ->
let additionalArgs = if versionSuffix.Length > 0 then [sprintf "/p:VersionSuffix=%s" versionSuffix] else []

Expand Down Expand Up @@ -561,7 +550,7 @@ Target "RunTestsFull" DoNothing
Target "RunTestsNetCoreFull" DoNothing

// build dependencies
"Clean" ==> "RestorePackages" ==> "AssemblyInfo" ==> "Build" ==> "PublishMntr" ==> "BuildRelease"
"Clean" ==> "AssemblyInfo" ==> "Build" ==> "PublishMntr" ==> "BuildRelease"

// tests dependencies
// "RunTests" and "RunTestsNetCore" don't use clean / build so they can be run multiple times, successively, without rebuilding
Expand Down

0 comments on commit df0342c

Please sign in to comment.