how to import another fake script into an existing one?

1 view
Skip to first unread message

Noon Silk

unread,
Nov 19, 2013, 11:04:10 PM11/19/13
to fshar...@googlegroups.com
suppose i have a common set of tasks that i wish to abstract into their own .fsx file; common.fsx

then in "foo.fsx" i want to run something like "Common.SetupEnvironment"

is such a thing possible?

--
Noon

Steffen Forkmann

unread,
Nov 25, 2013, 4:11:53 AM11/25/13
to fshar...@googlegroups.com

Hi,

 

in foo.fsx you can write

 

#load “common.fsx”

 

Cheers,

Steffen

--
Sie erhalten diese Nachricht, weil Sie Mitglied der Google Groups-Gruppe "FAKE - F# Make" sind.
Um Ihr Abonnement für diese Gruppe zu beenden und keine E-Mails mehr von dieser Gruppe zu erhalten, senden Sie eine E-Mail an fsharpMake+...@googlegroups.com.
Weitere Optionen: https://groups.google.com/groups/opt_out

Reply all
Reply to author
Forward
0 new messages