Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Appcast

Contains code to configure FAKE for Appcast handling

Nested types and modules

TypeDescription
Appcast
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Configuration data for the appcast

AppcastItem
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Download details for the appcast

MimeType
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Mime type of the download file

Functions and values

Function or valueDescription
sparkle
Signature: XNamespace

Sparkel namespace used for RSS extension

writeAppcast path cast
Signature: path:string -> cast:Appcast -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

writes an appcast to a file

Parameters

  • path - The file where the appcast should be written

  • cast - The appcast to write

    Sample

    // This target creates the app cast for our app. I contains two version 1.X and 2.X while 2.X requires at least OS X 10.10 Yosemite. Target "CreateAppcast" (fun _ -> let server = "https://example.com/files/" let fileLength file = let info = new System.IO.FileInfo(file) info.Length

    let latestSize = fileLength "build/download-2.0.1.zip" let legacySize = fileLength "build/download-1.1.4.zip"

    { title = "My Awesome App" description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus." language = "en" items = [ { title = "Hawk Nickel Greyhound" pubdate = System.DateTime.Now url = new System.Uri(server + "download-2.0.1.zip") version = "2014" // This our internal build number shortVersion = Some("2.0.1") //This is what we show to the user mimetype = OctetStream minimumSystemVersion = Some("10.10") length = latestSize dsaSignature = None }; { title = "Sparrow Platinum Beagle" pubdate = System.DateTime.Now url = new System.Uri(server + "download-1.1.4.zip") version = "1142" // This our internal build number shortVersion = Some("1.1.4") //This is what we show to the user mimetype = OctetStream length = legacySize minimumSystemVersion = None dsaSignature = None } ] } |> writeAppcast "build/updates.xml" )

XAttribute expandedName value
Signature: expandedName:string -> value:'?8963 -> obj
Type parameters: '?8963
XAttributeXName expandedName value
Signature: expandedName:XName -> value:'?8965 -> obj
Type parameters: '?8965
XDeclaration version encoding standalone
Signature: version:string -> encoding:string -> standalone:string -> XDeclaration
XDocument xdecl content
Signature: xdecl:XDeclaration -> content:seq<'?8959> -> XDocument
Type parameters: '?8959
XElement expandedName content
Signature: expandedName:string -> content:seq<'?8961> -> obj
Type parameters: '?8961
XName(expandedName)
Signature: expandedName:string -> XName