Skip to content

Commit

Permalink
added Load extension method, fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
matthid committed Apr 28, 2015
1 parent 6f9e7f6 commit 6ea4e04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
### 1.1.2
### 1.1.3

* Added "Load" to load script files

### 1.1.2

* Revert the redirect when using CreateForwardWriter (otherwise users run into unexpected StackOverflowExceptions when printing to stdout or stderr)
See https://github.com/fsharp/FAKE/pull/771
Expand Down
2 changes: 2 additions & 0 deletions src/source/Yaaf.FSharp.Scripting/YaafFSharpScripting.fs
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,8 @@ module internal Extensions =
x.EvalInteraction (sprintf "open %s" ns)
member x.Reference file =
x.EvalInteraction (sprintf "#r @\"%s\"" file)
member x.Load file =
x.EvalInteraction (sprintf "#load @\"%s\" " file)

/// Change the current directory (so that relative paths within scripts work properly).
/// Returns a handle to change the current directory back to it's initial state
Expand Down

0 comments on commit 6ea4e04

Please sign in to comment.