<commit_before>#load "tools/includes.fsx"
open IntelliFactory.Build

let bt =
    BuildTool().PackageId("WebSharper.JQueryUI")
        .VersionFrom("WebSharper")
        .WithFramework(fun fw -> fw.Net40)
        .References(fun r -> [r.Assembly "System.Web"])

let main =
    bt.WebSharper.Library("WebSharper.JQueryUI")
        .SourcesFromProject()

let test =
    bt.WebSharper.HtmlWebsite("WebSharper.JQueryUI.Tests")
        .SourcesFromProject()
        .References(fun r -> [r.Project main])

bt.Solution [
    main
    test

    bt.NuGet.CreatePackage()
        .Configure(fun c ->
            { c with
                Title = Some "WebSharper.JQueryUI-1.11.1"
                LicenseUrl = Some "http://websharper.com/licensing"
                ProjectUrl = Some "https://github.com/intellifactory/websharper.jqueryui"
                Description = "WebSharper Extensions for JQueryUI 1.11.1"
                RequiresLicenseAcceptance = true })
        .Add(main)

]
|> bt.Dispatch
<commit_msg>Update for WebSharper 3.5 + use F# 3.0<commit_after>#load "tools/includes.fsx"
open IntelliFactory.Build

let bt =
    BuildTool().PackageId("WebSharper.JQueryUI")
        .VersionFrom("WebSharper")
        .WithFSharpVersion(FSharpVersion.FSharp30)
        .WithFramework(fun fw -> fw.Net40)
        .References(fun r ->
            [
                r.Assembly "System.Web"
                r.NuGet("WebSharper.Html").ForceFoundVersion().Reference()
            ])

let main =
    bt.WebSharper.Library("WebSharper.JQueryUI")
        .SourcesFromProject()

let test =
    bt.WebSharper.HtmlWebsite("WebSharper.JQueryUI.Tests")
        .SourcesFromProject()
        .References(fun r -> [r.Project main])

bt.Solution [
    main
    test

    bt.NuGet.CreatePackage()
        .Configure(fun c ->
            { c with
                Title = Some "WebSharper.JQueryUI-1.11.1"
                LicenseUrl = Some "http://websharper.com/licensing"
                ProjectUrl = Some "https://github.com/intellifactory/websharper.jqueryui"
                Description = "WebSharper Extensions for JQueryUI 1.11.1"
                RequiresLicenseAcceptance = true })
        .Add(main)

]
|> bt.Dispatch

{'fraction_non_alphanumeric': 0.11619718309859155, 'fraction_numerical': 0.011443661971830986, 'mean_word_length': 1.9634941329856583, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6141587', 'n_tokens_mistral': 782, 'n_tokens_neox': 705, 'n_words': 116}