-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.fsx
39 lines (33 loc) · 1.18 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
#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, 8.1.0-alpha004"
#r "nuget: MSBuild.StructuredLogger"
open Fake.Core
System.Environment.GetCommandLineArgs()
|> Array.skip 2 // skip fsi.exe; build.fsx
|> Array.toList
|> Fake.Core.Context.FakeExecutionContext.Create false __SOURCE_FILE__
|> Fake.Core.Context.RuntimeContext.Fake
|> Fake.Core.Context.setExecutionContext
#load "paket-files/wsbuild/github.com/dotnet-websharper/build-script/WebSharper.Fake.fsx"
#r "System.Xml.Linq"
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/highlightjs"
AssemblyInfo.Product "WebSharper HighlightJS 11.8+"
]
}
|> MakeTargets
|> RunTargets