-
Notifications
You must be signed in to change notification settings - Fork 22
/
build.fsx
45 lines (42 loc) · 1.24 KB
/
build.fsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#if INTERACTIVE
#r "nuget: FAKE.Core"
#r "nuget: Fake.Core.Target"
#r "nuget: Fake.IO.FileSystem"
#r "nuget: Fake.Tools.Git"
#r "nuget: Fake.DotNet.Cli"
#r "nuget: Fake.DotNet.AssemblyInfoFile"
#r "nuget: Fake.DotNet.Paket"
#r "nuget: Paket.Core"
#else
#r "paket:
nuget FSharp.Core 5.0.0
nuget FAKE.Core
nuget Fake.Core.Target
nuget Fake.IO.FileSystem
nuget Fake.Tools.Git
nuget Fake.DotNet.Cli
nuget Fake.DotNet.AssemblyInfoFile
nuget Fake.DotNet.Paket
nuget Paket.Core prerelease //"
#endif
#load "paket-files/wsbuild/github.com/dotnet-websharper/build-script/WebSharper.Fake.fsx"
open WebSharper.Fake
open Fake.DotNet
let WithProjects projects args =
{ args with BuildAction = Projects projects }
LazyVersionFrom "WebSharper" |> WSTargets.Default
|> fun args ->
{ args with
Attributes = [
AssemblyInfo.Company "IntelliFactory"
AssemblyInfo.Copyright "(c) IntelliFactory 2023"
AssemblyInfo.Title "https://github.com/dotnet-websharper/ui"
AssemblyInfo.Product "WebSharper UI"
]
}
|> WithProjects [
"WebSharper.UI.CSharp.Templating.Build/WebSharper.UI.CSharp.Templating.Build.fsproj"
"WebSharper.UI.sln"
]
|> MakeTargets
|> RunTargets