Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo in comment #2492

Merged
merged 1 commit into from
Apr 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ let restoreTools =

let callpaket wd args =
restoreTools()

let res = DotNet.exec (dtntWorkDir wd) "paket" args
if not res.OK then
failwithf "paket failed to start: %A" res
Expand Down Expand Up @@ -373,7 +373,7 @@ Target.create "StartBootstrapBuild" (fun _ ->
let formatState (state:Octokit.CommitStatus) =
sprintf "{ State: %O, Description: %O, TargetUrl: %O }"
state.State state.Description state.TargetUrl
let result =
let result =
async {
let! client = GitHub.createClientWithToken token
let mutable whileResult = None
Expand All @@ -400,7 +400,7 @@ Target.create "StartBootstrapBuild" (fun _ ->
do! doWait()
match whileResult with
| Some r -> return r
| None ->
| None ->
// time is up
let! combStatus = client.Repository.Status.GetCombined(github_release_user, gitName, sha) |> Async.AwaitTask
return
Expand Down Expand Up @@ -612,14 +612,14 @@ let startWebServer () =
if portIsTaken then findPort (port + 1) else port

let port = findPort 8083

let inline (@@) a b = Suave.WebPart.concatenate a b
let mimeTypes =
Suave.Writers.defaultMimeTypesMap
@@ (function
| ".avi" -> Suave.Writers.createMimeType "video/avi" false
| ".mp4" -> Suave.Writers.createMimeType "video/mp4" false
| _ -> None)
| _ -> None)
let serverConfig =
{ Suave.Web.defaultConfig with
homeFolder = Some (Path.GetFullPath docsDir)
Expand Down Expand Up @@ -831,7 +831,7 @@ Target.create "_DotNetPackage" (fun _ ->
let nugetDir = System.IO.Path.GetFullPath nugetDncDir
// This lines actually ensures we get the correct version checked in
// instead of the one previously bundled with `fake` or `paket`
callpaket "." "restore" // first make paket restire its target file if it feels like it.
callpaket "." "restore" // first make paket restore its target file if it feels like it.
Git.CommandHelper.gitCommand "" "checkout .paket/Paket.Restore.targets" // now restore ours

restoreTools()
Expand Down