Skip to content
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
5 changes: 4 additions & 1 deletion amsite.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,11 @@ let run () =
else if RuntimeInformation.IsOSPlatform(OSPlatform.Linux) then
runProgram "xdg-open" "." ("." / outputP / "index.html")

// All of .output, not only final: the generator copies every page in .output/pre into final,
// so a page an older build wrote to pre -- one for a member the library has since removed --
// came back after a clean, with whatever broken links it had.
let clean () =
dirDelete ("." / outputP)
dirDelete ("." / ".output")

match cliArgs with
| [ _; _; "init" ] -> init ()
Expand Down
Loading