Skip to content

Commit

Permalink
Merge pull request #1653 from alex-bogomaz/1643-modules-docs-fix
Browse files Browse the repository at this point in the history
fix code in FAKE5 modules doc
  • Loading branch information
matthid authored Sep 18, 2017
2 parents 1c41338 + 28f23c9 commit cc68e0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions help/markdown/fake-fake5-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ group NetcoreBuild
nuget Fake.Core.Targets prerelease
```

Now you can directly use `open Fake.Core.Targets` and use the [targets module](core-targets.html).
Now you can directly use `open Fake.Core` and use the [Target module](core-targets.html).

For example create a new file `build.fsx` with

```fsharp
// Use this for IDE support. Not required by FAKE 5. Change "build.fsx" to the name of your script.
#load ".fake/build.fsx/intellisense.fsx"
open Fake.Core.Targets
open Fake.Core
Target.Create "MyBuild" (fun _ ->
printfn "MyBuild"
printfn "message from MyBuild target"
)
Target.RunOrDefault "MyBuild"
Expand Down

0 comments on commit cc68e0a

Please sign in to comment.