Skip to content

Commit

Permalink
back to 'Rebuild' fix some paths
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudRoutine committed Mar 22, 2017
1 parent 26c7782 commit 2d25327
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
12 changes: 6 additions & 6 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Target "Build" (fun _ ->
{ BaseDirectory = __SOURCE_DIRECTORY__
Includes = ["FSharp.Formatting.sln"]
Excludes = [] }
|> MSBuildRelease "" "Build"
|> MSBuildRelease "" "Rebuild"
|> ignore
)

Expand Down Expand Up @@ -137,31 +137,31 @@ Target "BuildTests" (fun _ ->
{ BaseDirectory = __SOURCE_DIRECTORY__
Includes = ["FSharp.Formatting.sln"]
Excludes = [] }
|> MSBuildRelease "" "Build"
|> MSBuildRelease "" "Rebuild"
|> ignore

{ BaseDirectory = __SOURCE_DIRECTORY__
Includes = ["tests/*/files/FsLib/FsLib.sln"]
Excludes = [] }
|> MSBuildDebug "" "Build"
|> MSBuildDebug "" "Rebuild"
|> ignore

{ BaseDirectory = __SOURCE_DIRECTORY__
Includes = ["tests/*/files/crefLib/crefLib.sln"]
Excludes = [] }
|> MSBuildDebug "" "Build"
|> MSBuildDebug "" "Rebuild"
|> ignore

{ BaseDirectory = __SOURCE_DIRECTORY__
Includes = ["tests/*/files/csharpSupport/csharpSupport.sln"]
Excludes = [] }
|> MSBuildDebug "" "Build"
|> MSBuildDebug "" "Rebuild"
|> ignore

{ BaseDirectory = __SOURCE_DIRECTORY__
Includes = ["tests/*/files/TestLib/TestLib.sln"]
Excludes = [] }
|> MSBuildDebug "" "Build"
|> MSBuildDebug "" "Rebuild"
|> ignore
)

Expand Down
8 changes: 4 additions & 4 deletions docs/content/evaluation.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ of the `commands` have decorated the code or text with some formatting, for exam
with layout or content generation engines such as Jeykll, we sometimes need to emit plain text as declarations to
said engines. This is where the `raw` command is useful.
(**
(*** raw ***)
Some raw text.
*)
(**
(*** raw ***)
Some raw text.
*)

which would emit

Expand Down
6 changes: 4 additions & 2 deletions docs/content/literate.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,11 @@ let projInfo =
"github-link", "https://github.com/tpetricek/FSharp.Formatting"
"project-name", "F# Formatting" ]



// Process all files and save results to 'output' directory
Literate.ProcessDirectory
(source, projTemplate, source + "\\output", replacements = projInfo)
(source, outputDirectory=source + "\\output", replacements = projInfo)

(**
The sample template `template-project.html` has been used to generate this documentation
Expand All @@ -220,7 +222,7 @@ let docTex = Path.Combine(source, "../docs/document.md")
Literate.ProcessMarkdown(docTex, template, format = OutputKind.Latex)

Literate.ProcessDirectory
( source, texTemplate, source + "\\output",
( source, outputDirectory=source + "\\output",
format = OutputKind.Latex, replacements = projInfo)

(**
Expand Down
2 changes: 1 addition & 1 deletion misc/literate/build.fsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Given a typical setup (with 'FSharp.Formatting' referenced using NuGet),
// the following will include binaries and load the literate script
#load "../../src/FSharp.Formatting.fsx"
#load "../../packages/FSharp.Formatting/FSharp.Formatting.fsx"
open System.IO
open FSharp.Literate
open FSharp.Formatting.Razor
Expand Down

0 comments on commit 2d25327

Please sign in to comment.