-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.fsx
49 lines (45 loc) · 1.37 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
46
47
48
49
#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"
#r "System.Xml.Linq"
// Only reference these packages from editors/non fake-cli tools
#if !FAKE
// To have proper language service in the editor
#r "netstandard"
// To help FAKE related IntelliSense in editor
#load "./.fake/build.fsx/intellisense_lazy.fsx"
#endif
open WebSharper.Fake
open Fake.DotNet
LazyVersionFrom "WebSharper" |> WSTargets.Default
|> fun args ->
{ args with
Attributes =
[
AssemblyInfo.Company "IntelliFactory"
AssemblyInfo.Copyright "(c) IntelliFactory 2023"
AssemblyInfo.Title "https://github.com/dotnet-websharper/chartjs"
AssemblyInfo.Product "WebSharper ChartJS 4.4+"
]
}
|> MakeTargets
|> RunTargets