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

let bt =
    BuildTool().PackageId("Zafir.JQueryMobile")
        .VersionFrom("Zafir")
        .WithFSharpVersion(FSharpVersion.FSharp30)
        .WithFramework(fun fw -> fw.Net40)

let ext =
    bt.Zafir.Extension("WebSharper.JQuery.Mobile")
    |> fun main -> main.SourcesFromProject()

let tests =
    bt.Zafir.HtmlWebsite("WebSharper.JQuery.Mobile.Tests")
    |> fun tests ->
        tests.SourcesFromProject().References(fun r ->
            [
                r.NuGet("Zafir.Html").Reference()
                r.Project ext
            ])

bt.Solution [
    ext
    tests

    bt.NuGet.CreatePackage()
        .Configure(fun c ->
            { c with
                Title = Some "Zafir.JQueryMobile-1.4.2"
                LicenseUrl = Some "http://websharper.com/licensing"
                ProjectUrl = Some "https://github.com/intellifactory/websharper.jquerymobile"
                Description = "Zafir Extensions for JQuery Mobile 1.4.2"
                RequiresLicenseAcceptance = true })
        .Add(ext)

]
|> bt.Dispatch
<commit_msg>Disable tests for Zafir<commit_after>#load "tools/includes.fsx"
open IntelliFactory.Build

let bt =
    BuildTool().PackageId("Zafir.JQueryMobile")
        .VersionFrom("Zafir")
        .WithFSharpVersion(FSharpVersion.FSharp30)
        .WithFramework(fun fw -> fw.Net40)

let ext =
    bt.Zafir.Extension("WebSharper.JQuery.Mobile")
    |> fun main -> main.SourcesFromProject()

let tests =
    bt.Zafir.HtmlWebsite("WebSharper.JQuery.Mobile.Tests")
    |> fun tests ->
        tests.SourcesFromProject().References(fun r ->
            [
                r.NuGet("Zafir.Html").Reference()
                r.Project ext
            ])

bt.Solution [
    ext
//    tests

    bt.NuGet.CreatePackage()
        .Configure(fun c ->
            { c with
                Title = Some "Zafir.JQueryMobile-1.4.2"
                LicenseUrl = Some "http://websharper.com/licensing"
                ProjectUrl = Some "https://github.com/intellifactory/websharper.jquerymobile"
                Description = "Zafir Extensions for JQuery Mobile 1.4.2"
                RequiresLicenseAcceptance = true })
        .Add(ext)

]
|> bt.Dispatch

{'fraction_non_alphanumeric': 0.12032085561497326, 'fraction_numerical': 0.008912655971479501, 'mean_word_length': 2.0502717391304346, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '5167252', 'n_tokens_mistral': 747, 'n_tokens_neox': 702, 'n_words': 115}