Skip to content

Commit df997fd

Browse files
committed
Removing F# prelude from scripts
1 parent 2dd244d commit df997fd

File tree

30 files changed

+24
-391
lines changed

30 files changed

+24
-391
lines changed

sample/HttpTriggerWithObject-FSharp/run.fsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
1-
//----------------------------------------------------------------------------------------
2-
// This prelude allows scripts to be edited in Visual Studio or another F# editing environment
3-
4-
#if !COMPILED
5-
#I "../../bin/Binaries/WebJobs.Script.Host"
6-
#r "Microsoft.Azure.WebJobs.Host.dll"
7-
#endif
8-
9-
//----------------------------------------------------------------------------------------
10-
// This is the implementation of the function
11-
12-
open System
1+
open System
132
open Microsoft.Azure.WebJobs.Host
143

154
[<CLIMutable>]

sample/MobileTable-FSharp/run.fsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
1-
//----------------------------------------------------------------------------------------
2-
// This prelude allows scripts to be edited in Visual Studio or another F# editing environment
3-
4-
#if !COMPILED
5-
#I "../../bin/Binaries/WebJobs.Script.Host"
6-
#r "Microsoft.Azure.WebJobs.Host.dll"
7-
#endif
8-
9-
//----------------------------------------------------------------------------------------
10-
// This is the implementation of the function
11-
12-
open System
1+
open System
132
open Microsoft.Azure.WebJobs.Host
143

154
type Item =

sample/NotificationHub-FSharp/run.fsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
1-
//----------------------------------------------------------------------------------------
2-
// This prelude allows scripts to be edited in Visual Studio or another F# editing environment
3-
4-
#if !COMPILED
5-
#I "../../bin/Binaries/WebJobs.Script.Host"
6-
#r "Microsoft.Azure.WebJobs.Host.dll"
7-
#endif
8-
9-
//----------------------------------------------------------------------------------------
10-
// This is the implementation of the function
11-
12-
open System
1+
open System
132
open Microsoft.Azure.WebJobs.Host
143

154
let Run (input: string, log: TraceWriter) =

sample/QueueTrigger-FSharp/run.fsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
//----------------------------------------------------------------------------------------
2-
// This prelude allows scripts to be edited in Visual Studio or another F# editing environment
3-
4-
#if !COMPILED
5-
#I "../../bin/Binaries/WebJobs.Script.Host"
6-
#r "Microsoft.Azure.WebJobs.Host.dll"
7-
#endif
8-
9-
//----------------------------------------------------------------------------------------
10-
// This is the implementation of the function
11-
121
open System
132
open Microsoft.Azure.WebJobs.Host
143

sample/TimerTrigger-FSharp/run.fsx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
1-
//----------------------------------------------------------------------------------------
2-
// This prelude allows scripts to be edited in Visual Studio or another F# editing environment
3-
4-
#if !COMPILED
5-
#I "../../bin/Binaries/WebJobs.Script.Host"
6-
#r "Microsoft.Azure.WebJobs.Host.dll"
7-
#r "Microsoft.Azure.WebJobs.Extensions.dll"
8-
#endif
9-
10-
//----------------------------------------------------------------------------------------
11-
// This is the implementation of the function
12-
13-
open System
1+
open System
142
open Microsoft.Azure.WebJobs
153
open Microsoft.Azure.WebJobs.Host
164

sample/WebHook-Azure-FSharp/run.fsx

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
1-
//----------------------------------------------------------------------------------------
2-
// This prelude allows scripts to be edited in Visual Studio or another F# editing environment
3-
4-
#if !COMPILED
5-
#I "../../bin/Binaries/WebJobs.Script.Host"
6-
#r "Microsoft.Azure.WebJobs.Host.dll"
7-
#r "Microsoft.Azure.WebJobs.Extensions.dll"
8-
#endif
9-
10-
11-
//----------------------------------------------------------------------------------------
12-
// This is the implementation of the function
13-
14-
open System
1+
open System
152
open Microsoft.Azure.WebJobs
163
open Microsoft.Azure.WebJobs.Host
174

sample/WebHook-Generic-FSharp/run.fsx

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
1-
//----------------------------------------------------------------------------------------
2-
// This prelude allows scripts to be edited in Visual Studio or another F# editing environment
3-
4-
#if !COMPILED
5-
#I "../../bin/Binaries/WebJobs.Script.Host"
6-
#r "Microsoft.Azure.WebJobs.Host.dll"
7-
#r "Microsoft.Azure.WebJobs.Extensions.dll"
8-
#r "Newtonsoft.Json"
9-
#endif
10-
11-
//----------------------------------------------------------------------------------------
12-
// This is the implementation of the function
13-
14-
open System
1+
open System
152
open System.Net
163
open Newtonsoft.Json
174
open Newtonsoft.Json.Linq

test/WebJobs.Script.Tests/TestScripts/FSharp/ApiHubFileSender/run.fsx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
1-
//----------------------------------------------------------------------------------------
2-
// This prelude allows scripts to be edited in Visual Studio or another F# editing environment
3-
4-
#if !COMPILED
5-
#I "../../../../../src/WebJobs.Script.Host/bin/Debug"
6-
#r "Microsoft.Azure.WebJobs.Host.dll"
7-
#r "Microsoft.Azure.WebJobs.Extensions.dll"
8-
#endif
9-
10-
//----------------------------------------------------------------------------------------
11-
// This is the implementation of the function
12-
13-
open System
1+
open System
142
open Microsoft.Azure.WebJobs.Host
153

164
let Run(input: string, log: TraceWriter) =

test/WebJobs.Script.Tests/TestScripts/FSharp/ApiHubFileTrigger/run.fsx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
1-
//----------------------------------------------------------------------------------------
2-
// This prelude allows scripts to be edited in Visual Studio or another F# editing environment
3-
4-
#if !COMPILED
5-
#I "../../../../../src/WebJobs.Script.Host/bin/Debug"
6-
#r "Microsoft.Azure.WebJobs.Host.dll"
7-
#r "Microsoft.Azure.WebJobs.Extensions.dll"
8-
#endif
9-
10-
//----------------------------------------------------------------------------------------
11-
// This is the implementation of the function
12-
13-
#r "System.Net.Http"
1+
#r "System.Net.Http"
142

153
open System
164
open Microsoft.Azure.WebJobs.Host

test/WebJobs.Script.Tests/TestScripts/FSharp/ApiHubTable/run.fsx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
1-
//----------------------------------------------------------------------------------------
2-
// This prelude allows scripts to be edited in Visual Studio or another F# editing environment
3-
4-
#if !COMPILED
5-
#I "../../../../../src/WebJobs.Script.Host/bin/Debug"
6-
#r "Microsoft.Azure.WebJobs.Host.dll"
7-
#r "Microsoft.Azure.WebJobs.Extensions.dll"
8-
#endif
9-
10-
//----------------------------------------------------------------------------------------
11-
// This is the implementation of the function
12-
13-
#r "Microsoft.Azure.ApiHub.Sdk"
1+
#r "Microsoft.Azure.ApiHub.Sdk"
142

153
open System
164
open Microsoft.Azure.WebJobs.Host

0 commit comments

Comments
 (0)