diff --git a/src/app/FakeLib/AndroidPublisher.fs b/src/app/FakeLib/AndroidPublisher.fs index 0e1eba752d3..bb42c02ad79 100644 --- a/src/app/FakeLib/AndroidPublisher.fs +++ b/src/app/FakeLib/AndroidPublisher.fs @@ -34,6 +34,7 @@ type AndroidPublishConfig = { Apk: string; } +[] type AndroidPublishParams = { Track: string; Config: AndroidPublishConfig; diff --git a/src/app/FakeLib/AppVeyor.fs b/src/app/FakeLib/AppVeyor.fs index ef612d6cd4d..412fa3fdd18 100644 --- a/src/app/FakeLib/AppVeyor.fs +++ b/src/app/FakeLib/AppVeyor.fs @@ -188,6 +188,7 @@ let SetVariable name value = type ArtifactType = Auto | WebDeployPackage /// AppVeyor parameters for artifact push +[] type PushArtifactParams = { /// The full local path to the artifact diff --git a/src/app/FakeLib/AssemblyInfoHelper.fs b/src/app/FakeLib/AssemblyInfoHelper.fs index b735de566b3..fe3df38cf01 100644 --- a/src/app/FakeLib/AssemblyInfoHelper.fs +++ b/src/app/FakeLib/AssemblyInfoHelper.fs @@ -15,6 +15,7 @@ type CodeLanguage = | FSharp | VisualBasic +[] type AssemblyInfoParams = { OutputFileName : string ComVisible : bool option diff --git a/src/app/FakeLib/AzureCloudServices.fs b/src/app/FakeLib/AzureCloudServices.fs index b07c7dd7624..f488188de7a 100644 --- a/src/app/FakeLib/AzureCloudServices.fs +++ b/src/app/FakeLib/AzureCloudServices.fs @@ -5,6 +5,7 @@ open System.IO open Fake /// Configuration details for packaging cloud services. +[] type PackageCloudServiceParams = { /// The name of the Cloud Service. CloudService : string diff --git a/src/app/FakeLib/AzureHelper.fs b/src/app/FakeLib/AzureHelper.fs index 2d876828088..a54e1f8e97f 100644 --- a/src/app/FakeLib/AzureHelper.fs +++ b/src/app/FakeLib/AzureHelper.fs @@ -5,6 +5,7 @@ open Fake.ProcessHelper open System /// A type for the controlling parameter +[] type AzureEmulatorParams = { CSRunToolPath:string DSInitToolPath:string diff --git a/src/app/FakeLib/BowerHelper.fs b/src/app/FakeLib/BowerHelper.fs index c87625a966e..d857ded8088 100644 --- a/src/app/FakeLib/BowerHelper.fs +++ b/src/app/FakeLib/BowerHelper.fs @@ -24,6 +24,7 @@ type BowerCommand = | Custom of string /// The Bower parameter type +[] type BowerParams = { Src: string BowerFilePath: string diff --git a/src/app/FakeLib/CMake.fs b/src/app/FakeLib/CMake.fs index 90052986e64..0c4e35b7b7e 100644 --- a/src/app/FakeLib/CMake.fs +++ b/src/app/FakeLib/CMake.fs @@ -23,6 +23,7 @@ type CMakeVariable = { } /// The CMakeGenerate parameter type. +[] type CMakeGenerateParams = { /// The location of the CMake executable. Automatically found if null or empty. ToolPath:string @@ -65,6 +66,7 @@ type CMakeGenerateParams = { } /// The CMakeBuild parameter type. +[] type CMakeBuildParams = { /// The location of the CMake executable. Automatically found if null or empty. ToolPath:string diff --git a/src/app/FakeLib/ChocoHelper.fs b/src/app/FakeLib/ChocoHelper.fs index b7f2f21cbdb..8f1b0ba58b5 100644 --- a/src/app/FakeLib/ChocoHelper.fs +++ b/src/app/FakeLib/ChocoHelper.fs @@ -21,6 +21,7 @@ module Choco = | Sha512 /// The choco install parameter type. + [] type ChocoInstallParams = { /// Version of the package /// Equivalent to the `--version ` option. @@ -65,6 +66,7 @@ module Choco = } /// The choco pack parameter type. + [] type ChocoPackParams = { /// The version you would like to insert into the package. /// Equivalent to the `--version ` option. @@ -194,6 +196,7 @@ module Choco = } /// The choco push parameter type. + [] type ChocoPushParams = { /// The source we are pushing the package to. Default: "https://chocolatey.org/" /// Equivalent to the `--source ` option. diff --git a/src/app/FakeLib/DocFxHelper.fs b/src/app/FakeLib/DocFxHelper.fs index deb8ab8feb1..e5d1bf7fec2 100644 --- a/src/app/FakeLib/DocFxHelper.fs +++ b/src/app/FakeLib/DocFxHelper.fs @@ -4,6 +4,7 @@ module Fake.DocFxHelper open System /// The parameter type for DocFx. +[] type DocFxParams = { /// The tool path - FAKE tries to find docfx.exe automatically in any sub folder. ToolPath : string diff --git a/src/app/FakeLib/DocuHelper.fs b/src/app/FakeLib/DocuHelper.fs index d0c886b564b..8abb331551a 100644 --- a/src/app/FakeLib/DocuHelper.fs +++ b/src/app/FakeLib/DocuHelper.fs @@ -5,6 +5,7 @@ module Fake.DocuHelper open System /// The parameter type for docu. +[] type DocuParams = { /// The tool path - FAKE tries to find docu.exe automatically in any sub folder. ToolPath : string diff --git a/src/app/FakeLib/DotCover.fs b/src/app/FakeLib/DotCover.fs index a0a146d1717..de5eda46757 100644 --- a/src/app/FakeLib/DotCover.fs +++ b/src/app/FakeLib/DotCover.fs @@ -16,6 +16,7 @@ type DotCoverReportType = | NDependXml = 3 /// The dotCover parameter type for running coverage +[] type DotCoverParams = { ToolPath: string WorkingDir: string @@ -41,6 +42,7 @@ let DotCoverDefaults = CustomParameters = "" ErrorLevel = ErrorLevel.Error} +[] type DotCoverMergeParams = { ToolPath: string WorkingDir: string @@ -57,6 +59,7 @@ let DotCoverMergeDefaults = TempDir = "" CustomParameters = "" } +[] type DotCoverReportParams = { ToolPath: string WorkingDir: string diff --git a/src/app/FakeLib/DotNetCLIHelper.fs b/src/app/FakeLib/DotNetCLIHelper.fs index 3a755c10b9a..f318b1c8510 100644 --- a/src/app/FakeLib/DotNetCLIHelper.fs +++ b/src/app/FakeLib/DotNetCLIHelper.fs @@ -33,6 +33,7 @@ let isInstalled() = with _ -> false /// DotNet parameters +[] type CommandParams = { /// ToolPath - usually just "dotnet" ToolPath: string @@ -76,6 +77,7 @@ let RunCommand (setCommandParams: CommandParams -> CommandParams) args = failwithf "dotnet command failed on %s" args /// DotNet restore parameters +[] type RestoreParams = { /// ToolPath - usually just "dotnet" ToolPath: string @@ -138,6 +140,7 @@ let Restore (setRestoreParams: RestoreParams -> RestoreParams) = failwithf "Restore failed on %s" args /// DotNet build parameters +[] type BuildParams = { /// ToolPath - usually just "dotnet" ToolPath: string @@ -211,6 +214,7 @@ let Build (setBuildParams: BuildParams -> BuildParams) = /// DotNet test parameters +[] type TestParams = { /// ToolPath - usually just "dotnet" ToolPath: string @@ -284,6 +288,7 @@ let Test (setTestParams: TestParams -> TestParams) = /// DotNet pack parameters +[] type PackParams = { /// ToolPath - usually just "dotnet" ToolPath: string @@ -356,6 +361,7 @@ let Pack (setPackParams: PackParams -> PackParams) = failwithf "Pack failed on %s" args /// DotNet publish parameters +[] type PublishParams = { /// ToolPath - usually just "dotnet" ToolPath: string diff --git a/src/app/FakeLib/DynamicsCRMHelper.fs b/src/app/FakeLib/DynamicsCRMHelper.fs index 88177d838a1..5e3581d8a39 100644 --- a/src/app/FakeLib/DynamicsCRMHelper.fs +++ b/src/app/FakeLib/DynamicsCRMHelper.fs @@ -26,6 +26,7 @@ type PackageType = | Both -> "/p:Both" /// Parameters for executing Dynamics CRM Helper functions +[] type DynamicsCrmHelperParams = { /// Url of CRM Organization / Discovery Service URL if using AllOrganizations @@ -70,6 +71,7 @@ let DynamicsCrmHelperDefaults = } /// Parameters for invoking Solution Packager +[] type SolutionPackagerParams = { /// Action to start, either pack or extract diff --git a/src/app/FakeLib/DynamicsNavHelper.fs b/src/app/FakeLib/DynamicsNavHelper.fs index 5fba80dc649..aaae6013a22 100644 --- a/src/app/FakeLib/DynamicsNavHelper.fs +++ b/src/app/FakeLib/DynamicsNavHelper.fs @@ -65,6 +65,7 @@ type NavisionServerType = | NavisionServerType.NativeServer -> "NAVISION" /// A parameter type to interact with Dynamics NAV +[] type DynamicsNavParams = { ToolPath : string ServerName : string diff --git a/src/app/FakeLib/FXCopHelper.fs b/src/app/FakeLib/FXCopHelper.fs index ad124128355..19bf46d47f7 100644 --- a/src/app/FakeLib/FXCopHelper.fs +++ b/src/app/FakeLib/FXCopHelper.fs @@ -19,6 +19,7 @@ type FxCopErrorLevel = | DontFailBuild = 0 /// Parameter type for the FxCop tool +[] type FxCopParams = { ApplyOutXsl : bool DirectOutputToConsole : bool diff --git a/src/app/FakeLib/FixieHelper.fs b/src/app/FakeLib/FixieHelper.fs index 90dd9bdb2a0..2b4ec801485 100644 --- a/src/app/FakeLib/FixieHelper.fs +++ b/src/app/FakeLib/FixieHelper.fs @@ -6,6 +6,7 @@ open System.IO open System.Text /// Parameter type to configure the Fixie runner +[] type FixieParams = { /// FileName of the Fixie runner ToolPath: string diff --git a/src/app/FakeLib/FscHelper.fs b/src/app/FakeLib/FscHelper.fs index 73d0c9eb9de..615688f7d5e 100644 --- a/src/app/FakeLib/FscHelper.fs +++ b/src/app/FakeLib/FscHelper.fs @@ -27,6 +27,7 @@ type FscPlatform = /// 'fsc.exe' command line parameters [] +[] type FscParams = { /// Specifies the output file name and path. Output : string diff --git a/src/app/FakeLib/GACHelper.fs b/src/app/FakeLib/GACHelper.fs index 512dcdf4e8e..aa6fe393303 100644 --- a/src/app/FakeLib/GACHelper.fs +++ b/src/app/FakeLib/GACHelper.fs @@ -8,6 +8,7 @@ let gacutilToolPath = !! (sdkBasePath + "/**/gacutil.exe") |> getNewestTool /// GAC parameters +[] type GACParams = { /// (Required) Path to the gacutil ToolPath : string diff --git a/src/app/FakeLib/GitVersionHelper.fs b/src/app/FakeLib/GitVersionHelper.fs index 73025010369..eb8e71b42b0 100644 --- a/src/app/FakeLib/GitVersionHelper.fs +++ b/src/app/FakeLib/GitVersionHelper.fs @@ -9,6 +9,7 @@ open FSharp.Data open Newtonsoft.Json open System +[] type GitversionParams = { ToolPath : string } diff --git a/src/app/FakeLib/HipChatNotificationHelper.fs b/src/app/FakeLib/HipChatNotificationHelper.fs index b104e7ceace..0571163d044 100644 --- a/src/app/FakeLib/HipChatNotificationHelper.fs +++ b/src/app/FakeLib/HipChatNotificationHelper.fs @@ -6,6 +6,7 @@ open System.Web open Fake /// The HipChat notification paramater type +[] type HipChatNotificationParams = { /// (Required) Auth token from HipChat AuthToken: string diff --git a/src/app/FakeLib/HockeyAppHelper.fs b/src/app/FakeLib/HockeyAppHelper.fs index eeeadc155a0..dfb7befcbfd 100644 --- a/src/app/FakeLib/HockeyAppHelper.fs +++ b/src/app/FakeLib/HockeyAppHelper.fs @@ -71,6 +71,7 @@ type HockeyResponse = { /// The HockeyApp parameter type /// Based on http://support.hockeyapp.net/kb/api/api-apps#upload-app +[] type HockeyAppUploadParams = { /// (Required) API token ApiToken: string diff --git a/src/app/FakeLib/ILMergeHelper.fs b/src/app/FakeLib/ILMergeHelper.fs index c0da5bc74c9..d8261a1a1cf 100644 --- a/src/app/FakeLib/ILMergeHelper.fs +++ b/src/app/FakeLib/ILMergeHelper.fs @@ -26,6 +26,7 @@ type TargetKind = | WinExe /// Parameter type for ILMerge +[] type ILMergeParams = { /// Path to ILMerge.exe ToolPath : string diff --git a/src/app/FakeLib/MSBuildHelper.fs b/src/app/FakeLib/MSBuildHelper.fs index 1849c42e154..95c4f7cd352 100644 --- a/src/app/FakeLib/MSBuildHelper.fs +++ b/src/app/FakeLib/MSBuildHelper.fs @@ -130,6 +130,7 @@ type MSBuildDistributedLoggerConfig = Parameters : (string * string) list option } /// A type for MSBuild task parameters +[] type MSBuildParams = { Targets : string list Properties : (string * string) list diff --git a/src/app/FakeLib/MSIHelper.fs b/src/app/FakeLib/MSIHelper.fs index ace9208a0ca..ca9a3550145 100644 --- a/src/app/FakeLib/MSIHelper.fs +++ b/src/app/FakeLib/MSIHelper.fs @@ -5,6 +5,7 @@ module Fake.MSIHelper open System /// MSI parameter type +[] type MSIParams = { ToolPath: string WorkingDir:string diff --git a/src/app/FakeLib/MageHelper.fs b/src/app/FakeLib/MageHelper.fs index dcd8e631e24..8c5d134b0b3 100644 --- a/src/app/FakeLib/MageHelper.fs +++ b/src/app/FakeLib/MageHelper.fs @@ -19,6 +19,7 @@ type MageCall = NewApp | UpdateApp | Sign | Deploy | UpdateDeploy | SignDeploy type MageTrustLevels = Internet | LocalIntranet | FullTrust /// Needed information to call MAGE +[] type MageParams = { ToolsPath : string ProjectFiles : seq diff --git a/src/app/FakeLib/NCoverHelper.fs b/src/app/FakeLib/NCoverHelper.fs index cb50ac6d5f8..9bad5a47ddd 100644 --- a/src/app/FakeLib/NCoverHelper.fs +++ b/src/app/FakeLib/NCoverHelper.fs @@ -7,6 +7,7 @@ open System.IO open System.Text /// The NCover parameter type. +[] type NCoverParams = { ProjectName : string ToolPath : string diff --git a/src/app/FakeLib/NDependHelper.fs b/src/app/FakeLib/NDependHelper.fs index 9ac844c2a2c..5812a991358 100644 --- a/src/app/FakeLib/NDependHelper.fs +++ b/src/app/FakeLib/NDependHelper.fs @@ -10,6 +10,7 @@ let getWorkingDir workingDir = Seq.find isNotNullOrEmpty [workingDir; environVar("teamcity.build.workingDir"); "."] // TODO: other build servers? |> Path.GetFullPath +[] type NDependParams = { ToolPath : string WorkingDir : string diff --git a/src/app/FakeLib/NGenHelper.fs b/src/app/FakeLib/NGenHelper.fs index a7b09ce5b64..095b99904b4 100644 --- a/src/app/FakeLib/NGenHelper.fs +++ b/src/app/FakeLib/NGenHelper.fs @@ -4,6 +4,7 @@ module Fake.NGenHelper open System /// NGen parameters +[] type NGenParams = { /// (Required) Path to the NGenutil ToolPath : string diff --git a/src/app/FakeLib/NpmHelper.fs b/src/app/FakeLib/NpmHelper.fs index c8d201d6d73..aeffdee8b5f 100644 --- a/src/app/FakeLib/NpmHelper.fs +++ b/src/app/FakeLib/NpmHelper.fs @@ -45,6 +45,7 @@ type NpmCommand = | Custom of string /// The Npm parameter type +[] type NpmParams = { Src: string NpmFilePath: string diff --git a/src/app/FakeLib/NuGet/Install.fs b/src/app/FakeLib/NuGet/Install.fs index c00b8fad3cb..792ffee2873 100644 --- a/src/app/FakeLib/NuGet/Install.fs +++ b/src/app/FakeLib/NuGet/Install.fs @@ -11,6 +11,7 @@ type NugetInstallVerbosity = | Detailed /// Nuget install parameters. +[] type NugetInstallParams = { /// Path to the nuget.exe. diff --git a/src/app/FakeLib/NuGet/NugetHelper.fs b/src/app/FakeLib/NuGet/NugetHelper.fs index 1bd42f68f3b..211b12686a6 100644 --- a/src/app/FakeLib/NuGet/NugetHelper.fs +++ b/src/app/FakeLib/NuGet/NugetHelper.fs @@ -32,6 +32,7 @@ type NugetSymbolPackage = | Nuspec = 2 /// Nuget parameter type +[] type NuGetParams = { ToolPath : string TimeOut : TimeSpan diff --git a/src/app/FakeLib/NuGet/Update.fs b/src/app/FakeLib/NuGet/Update.fs index 924f2aea261..5cff859fbbe 100644 --- a/src/app/FakeLib/NuGet/Update.fs +++ b/src/app/FakeLib/NuGet/Update.fs @@ -5,6 +5,7 @@ open System open Fake /// Nuget update parameters. +[] type NugetUpdateParams = { /// Path to the nuget.exe. diff --git a/src/app/FakeLib/OctoTools.fs b/src/app/FakeLib/OctoTools.fs index 5253ed3655f..6e1cdccb371 100644 --- a/src/app/FakeLib/OctoTools.fs +++ b/src/app/FakeLib/OctoTools.fs @@ -110,6 +110,7 @@ type OctoCommand = | Push of PushOptions /// Complete Octo.exe CLI params +[] type OctoParams = { ToolName : string ToolPath : string diff --git a/src/app/FakeLib/OpenCoverHelper.fs b/src/app/FakeLib/OpenCoverHelper.fs index b1265d903af..8b2f0ffd195 100644 --- a/src/app/FakeLib/OpenCoverHelper.fs +++ b/src/app/FakeLib/OpenCoverHelper.fs @@ -10,6 +10,7 @@ type RegisterType = | RegisterUser /// OpenCover parameters, for more details see: https://github.com/OpenCover/opencover/wiki/Usage#console-application-usage. +[] type OpenCoverParams = { /// (Required) Path to the OpenCover console application ExePath : string diff --git a/src/app/FakeLib/PaketHelper.fs b/src/app/FakeLib/PaketHelper.fs index 86225604f80..69451703315 100755 --- a/src/app/FakeLib/PaketHelper.fs +++ b/src/app/FakeLib/PaketHelper.fs @@ -7,6 +7,7 @@ open System.Xml.Linq open System.Text.RegularExpressions /// Paket pack parameter type +[] type PaketPackParams = { ToolPath : string TimeOut : TimeSpan @@ -45,6 +46,7 @@ let PaketPackDefaults() : PaketPackParams = PinProjectReferences = false } /// Paket push parameter type +[] type PaketPushParams = { ToolPath : string TimeOut : TimeSpan @@ -65,6 +67,7 @@ let PaketPushDefaults() : PaketPushParams = ApiKey = null } /// Paket restore packages type +[] type PaketRestoreParams = { ToolPath : string TimeOut : TimeSpan diff --git a/src/app/FakeLib/PaketTemplateHelper.fs b/src/app/FakeLib/PaketTemplateHelper.fs index c13557da3dd..3b4ee44a1cc 100644 --- a/src/app/FakeLib/PaketTemplateHelper.fs +++ b/src/app/FakeLib/PaketTemplateHelper.fs @@ -36,6 +36,7 @@ type PaketDependencyVersionInfo = type PaketDependency = string * PaketDependencyVersionInfo /// Contains the different parameters to create a paket.template file +[] type PaketTemplateParams = { /// The file path to the `paket.template` file /// if omitted, a `paket.template` file will be created in the current directory diff --git a/src/app/FakeLib/PicklesHelper.fs b/src/app/FakeLib/PicklesHelper.fs index eda5166e30b..7a3654038e8 100644 --- a/src/app/FakeLib/PicklesHelper.fs +++ b/src/app/FakeLib/PicklesHelper.fs @@ -60,6 +60,7 @@ type TestResultsFormat = | Excel /// The Pickles parameter type +[] type PicklesParams = { /// The path to the Pickles console tool: 'pickles.exe' ToolPath : string diff --git a/src/app/FakeLib/ProcessHelper.fs b/src/app/FakeLib/ProcessHelper.fs index 956a44f78ad..81b79960ccf 100644 --- a/src/app/FakeLib/ProcessHelper.fs +++ b/src/app/FakeLib/ProcessHelper.fs @@ -395,6 +395,7 @@ let findPath settingsName fallbackValue tool = | None -> tool /// Parameter type for process execution. +[] type ExecParams = { /// The path to the executable, without arguments. Program : string diff --git a/src/app/FakeLib/RegAsmHelper.fs b/src/app/FakeLib/RegAsmHelper.fs index aa731c548f8..1bc1719b2d9 100644 --- a/src/app/FakeLib/RegAsmHelper.fs +++ b/src/app/FakeLib/RegAsmHelper.fs @@ -10,6 +10,7 @@ let regAsmToolPath = !! (TargetPlatformPrefix + "/**/RegAsm.exe") |> getNewestTool /// RegAsm parameter type +[] type RegAsmParams = { ToolPath : string WorkingDir : string diff --git a/src/app/FakeLib/ReportGeneratorHelper.fs b/src/app/FakeLib/ReportGeneratorHelper.fs index 5343d3f389b..6cf02953ecd 100644 --- a/src/app/FakeLib/ReportGeneratorHelper.fs +++ b/src/app/FakeLib/ReportGeneratorHelper.fs @@ -20,6 +20,7 @@ type ReportGeneratorLogVerbosity = | Error = 2 /// ReportGenerator parameters, for more details see: https://github.com/danielpalme/ReportGenerator. +[] type ReportGeneratorParams = { /// (Required) Path to the ReportGenerator exe file. ExePath : string diff --git a/src/app/FakeLib/RestorePackageHelper.fs b/src/app/FakeLib/RestorePackageHelper.fs index 5abb7e4e195..dc1ae8b92a7 100755 --- a/src/app/FakeLib/RestorePackageHelper.fs +++ b/src/app/FakeLib/RestorePackageHelper.fs @@ -42,6 +42,7 @@ let findNuget defaultPath = | _ -> defaultPath @@ "NuGet.exe" /// RestorePackages parameter path +[] type RestorePackageParams = { ToolPath: string Sources: string list @@ -59,6 +60,7 @@ let RestorePackageDefaults = OutputPath = "./packages" } /// RestorePackages parameter path for single packages +[] type RestoreSinglePackageParams = { ToolPath: string Sources: string list diff --git a/src/app/FakeLib/RoundhouseHelper.fs b/src/app/FakeLib/RoundhouseHelper.fs index 4bc70af2fd2..b6d5edf488f 100644 --- a/src/app/FakeLib/RoundhouseHelper.fs +++ b/src/app/FakeLib/RoundhouseHelper.fs @@ -6,6 +6,7 @@ open Fake.ProcessHelper open System /// Parameter type to configure the RoundhousE runner +[] type RoundhouseParams = { /// The database you want to create/migrate. diff --git a/src/app/FakeLib/SCPHelper.fs b/src/app/FakeLib/SCPHelper.fs index 050136c53fd..dfb3cafdca6 100644 --- a/src/app/FakeLib/SCPHelper.fs +++ b/src/app/FakeLib/SCPHelper.fs @@ -3,6 +3,7 @@ module Fake.SCPHelper /// The SCP parameter type. +[] type SCPParams = { /// Path of the scp.exe ToolPath : string diff --git a/src/app/FakeLib/SSHHelper.fs b/src/app/FakeLib/SSHHelper.fs index 69ccf46ee12..20c7378c1e2 100644 --- a/src/app/FakeLib/SSHHelper.fs +++ b/src/app/FakeLib/SSHHelper.fs @@ -3,6 +3,7 @@ module Fake.SSHHelper /// The SSH parameter type. +[] type SSHParams = { /// Path of the scp.exe ToolPath : string diff --git a/src/app/FakeLib/SignToolHelper.fs b/src/app/FakeLib/SignToolHelper.fs index 4129e4ba4c9..36e2fb6c0d3 100644 --- a/src/app/FakeLib/SignToolHelper.fs +++ b/src/app/FakeLib/SignToolHelper.fs @@ -20,6 +20,7 @@ type SignCert = { } /// Parameters used for signing. +[] type SignParams = { /// The dev certificate that will be used when the real certificate can not be found DevCertificate : SignCert diff --git a/src/app/FakeLib/SlackNotificationHelper.fs b/src/app/FakeLib/SlackNotificationHelper.fs index d9bfd16776b..1f4f7fbe644 100644 --- a/src/app/FakeLib/SlackNotificationHelper.fs +++ b/src/app/FakeLib/SlackNotificationHelper.fs @@ -5,6 +5,7 @@ open System.Net open Newtonsoft.Json /// The Slack notification attachment field parameter type +[] type SlackNotificationAttachmentFieldParams = { /// (Required) The field title Title: string @@ -15,6 +16,7 @@ type SlackNotificationAttachmentFieldParams = { } /// The Slack notification attachment parameter type +[] type SlackNotificationAttachmentParams = { /// (Required) Text summary of the attachment that is shown by clients that understand attachments but choose not to show them Fallback: string @@ -33,6 +35,7 @@ type SlackNotificationAttachmentParams = { } /// The Slack notification parameter type +[] type SlackNotificationParams = { /// (Required) The message body Text: string diff --git a/src/app/FakeLib/SonarQubeHelper.fs b/src/app/FakeLib/SonarQubeHelper.fs index ec3a555beb3..e7d06eba1d6 100644 --- a/src/app/FakeLib/SonarQubeHelper.fs +++ b/src/app/FakeLib/SonarQubeHelper.fs @@ -6,6 +6,7 @@ open TraceHelper type SonarQubeCall = Begin | End /// Parameter type to configure the sonar qube runner. +[] type SonarQubeParams = { /// FileName of the sonar qube runner exe. ToolsPath : string diff --git a/src/app/FakeLib/SpecFlowHelper.fs b/src/app/FakeLib/SpecFlowHelper.fs index 8cd2d885e1d..7c965cdef4d 100644 --- a/src/app/FakeLib/SpecFlowHelper.fs +++ b/src/app/FakeLib/SpecFlowHelper.fs @@ -7,6 +7,7 @@ open System.IO open System.Text /// SpecFlow execution parameter type. +[] type SpecFlowParams = { SubCommand: string ProjectFile: string diff --git a/src/app/FakeLib/SquirrelHelper.fs b/src/app/FakeLib/SquirrelHelper.fs index 17e40a5b1b9..ec5235b9d6d 100644 --- a/src/app/FakeLib/SquirrelHelper.fs +++ b/src/app/FakeLib/SquirrelHelper.fs @@ -9,6 +9,7 @@ open System.Text /// FAKE will use [SquirrelDefaults](fake-squirrel.html) for values not provided. /// /// For reference, see: [Squirrel Command Line Options](https://github.com/Squirrel/Squirrel.Windows/blob/master/docs/advanced-releasify.md) +[] type SquirrelParams = { /// The output directory for the generated installer diff --git a/src/app/FakeLib/StrongNamingHelper.fs b/src/app/FakeLib/StrongNamingHelper.fs index 0abe37aacab..0722e1d872d 100644 --- a/src/app/FakeLib/StrongNamingHelper.fs +++ b/src/app/FakeLib/StrongNamingHelper.fs @@ -5,6 +5,7 @@ open System /// Strong naming parameters +[] type StrongNameParams = { /// (Required) Path to the sn.exe ToolPath : string diff --git a/src/app/FakeLib/TestFlightHelper.fs b/src/app/FakeLib/TestFlightHelper.fs index e729479c024..9343bd10888 100644 --- a/src/app/FakeLib/TestFlightHelper.fs +++ b/src/app/FakeLib/TestFlightHelper.fs @@ -5,6 +5,7 @@ open System open System.IO /// The TestFlight parameter type. +[] type TestFlightParams = { /// (Required) API token from testflightapp.com/account/#api ApiToken: string diff --git a/src/app/FakeLib/TypeScript.fs b/src/app/FakeLib/TypeScript.fs index a531c2383cc..ef0142f5f79 100644 --- a/src/app/FakeLib/TypeScript.fs +++ b/src/app/FakeLib/TypeScript.fs @@ -16,6 +16,7 @@ type ModuleGeneration = | AMD /// TypeScript task parameter type +[] type TypeScriptParams = { /// Specifies which ECMAScript version the TypeScript compiler should generate. Default is ES3. diff --git a/src/app/FakeLib/UnitTest/MSTest.fs b/src/app/FakeLib/UnitTest/MSTest.fs index d2068b07dc2..42f06c8b5e1 100644 --- a/src/app/FakeLib/UnitTest/MSTest.fs +++ b/src/app/FakeLib/UnitTest/MSTest.fs @@ -21,6 +21,7 @@ let mstestexe = type ErrorLevel = TestRunnerErrorLevel /// Parameter type to configure the MSTest.exe. +[] type MSTestParams = { /// Test category filter (optional). The test category filter consists of one or more test category names separated by the logical operators '&', '|', '!', '&!'. The logical operators '&' and '|' cannot be used together to create a test category filter. Category : string diff --git a/src/app/FakeLib/UnitTest/MSpecHelper.fs b/src/app/FakeLib/UnitTest/MSpecHelper.fs index 5003b48250b..8dba6eda8bc 100644 --- a/src/app/FakeLib/UnitTest/MSpecHelper.fs +++ b/src/app/FakeLib/UnitTest/MSpecHelper.fs @@ -7,6 +7,7 @@ open System.IO open System.Text /// Parameter type to configure the MSpec runner. +[] type MSpecParams = { /// FileName of the mspec runner exe. Use mspec-clr4.exe if you are on .NET 4.0 or above. ToolPath : string diff --git a/src/app/FakeLib/UnitTest/NUnit/Common.fs b/src/app/FakeLib/UnitTest/NUnit/Common.fs index 2186d602b35..590f570d5eb 100644 --- a/src/app/FakeLib/UnitTest/NUnit/Common.fs +++ b/src/app/FakeLib/UnitTest/NUnit/Common.fs @@ -42,6 +42,7 @@ type NUnitDomainModel = /// FAKE will use [NUnitDefaults](fake-nunitcommon.html) for values not provided. /// /// For reference, see: [NUnit-Console Command Line Options](http://www.nunit.org/index.php?p=consoleCommandLine&r=2.6.4) +[] type NUnitParams = { /// The [Categories](http://www.nunit.org/index.php?p=category&r=2.6.4) to be included in a test run. Multiple categories may be specified on either option, by using commas to separate them. diff --git a/src/app/FakeLib/UnitTest/NUnit/NUnit3.fs b/src/app/FakeLib/UnitTest/NUnit/NUnit3.fs index fbb1db347e2..a4b154a3bca 100644 --- a/src/app/FakeLib/UnitTest/NUnit/NUnit3.fs +++ b/src/app/FakeLib/UnitTest/NUnit/NUnit3.fs @@ -100,6 +100,7 @@ type LabelsLevel = /// The NUnit 3 Console Parameters type. FAKE will use [NUnit3Defaults](fake-testing-nunit3.html) for values not provided. /// /// For reference, see: [NUnit3 command line options](https://github.com/nunit/nunit/wiki/Console-Command-Line) +[] type NUnit3Params = { /// The path to the NUnit3 console runner: `nunit3-console.exe` ToolPath : string diff --git a/src/app/FakeLib/UnitTest/ProcessTestRunner.fs b/src/app/FakeLib/UnitTest/ProcessTestRunner.fs index 13c8958b0b6..ee7157bbc9c 100644 --- a/src/app/FakeLib/UnitTest/ProcessTestRunner.fs +++ b/src/app/FakeLib/UnitTest/ProcessTestRunner.fs @@ -6,6 +6,7 @@ open System.IO open System.Text /// The ProcessTestRunner parameter type. +[] type ProcessTestRunnerParams = { /// The working directory (optional). WorkingDir : string diff --git a/src/app/FakeLib/UnitTest/VSTest.fs b/src/app/FakeLib/UnitTest/VSTest.fs index 8e28938b0ae..63ec80b3b28 100644 --- a/src/app/FakeLib/UnitTest/VSTest.fs +++ b/src/app/FakeLib/UnitTest/VSTest.fs @@ -19,6 +19,7 @@ let vsTestExe = type ErrorLevel = TestRunnerErrorLevel /// Parameter type to configure [VSTest.Console.exe](https://msdn.microsoft.com/en-us/library/jj155800.aspx) +[] type VSTestParams = { /// Path to the run settings file to run tests with additional settings such as data collectors (optional). SettingsPath : string diff --git a/src/app/FakeLib/UnitTest/XUnit/XUnit.fs b/src/app/FakeLib/UnitTest/XUnit/XUnit.fs index 3b906df4b95..5477e9ce205 100644 --- a/src/app/FakeLib/UnitTest/XUnit/XUnit.fs +++ b/src/app/FakeLib/UnitTest/XUnit/XUnit.fs @@ -8,6 +8,7 @@ open System.Text open Fake /// The xUnit parameter type. +[] type XUnitParams = { /// The path to the xUnit console runner: `xunit.console.clr4.exe` ToolPath : string diff --git a/src/app/FakeLib/UnitTest/XUnit/XUnit2.fs b/src/app/FakeLib/UnitTest/XUnit/XUnit2.fs index 59b7e060b4b..a35d2a6e5f1 100644 --- a/src/app/FakeLib/UnitTest/XUnit/XUnit2.fs +++ b/src/app/FakeLib/UnitTest/XUnit/XUnit2.fs @@ -92,6 +92,7 @@ type CollectionConcurrencyMode = | MaxThreads count -> Some count /// The xUnit2 parameter type. +[] type XUnit2Params = { /// The path to the xUnit console runner: `xunit.console.exe` ToolPath : string diff --git a/src/app/FakeLib/UnitTest/XUnit/XUnit2Helper.fs b/src/app/FakeLib/UnitTest/XUnit/XUnit2Helper.fs index c22a6088848..d27c569cdfa 100644 --- a/src/app/FakeLib/UnitTest/XUnit/XUnit2Helper.fs +++ b/src/app/FakeLib/UnitTest/XUnit/XUnit2Helper.fs @@ -55,6 +55,7 @@ type XUnit2ErrorLevel = TestRunnerErrorLevel // a type alias to keep backwards c /// DEPRECATED. /// The xUnit parameter type [] +[] type XUnit2Params = { /// The path to the xunit.console.exe - FAKE will scan all subfolders to find it automatically. ToolPath : string diff --git a/src/app/FakeLib/UnitTest/XUnit/XUnitHelper.fs b/src/app/FakeLib/UnitTest/XUnit/XUnitHelper.fs index 877bc3dc863..6b514ba4932 100644 --- a/src/app/FakeLib/UnitTest/XUnit/XUnitHelper.fs +++ b/src/app/FakeLib/UnitTest/XUnit/XUnitHelper.fs @@ -19,6 +19,7 @@ type XUnitErrorLevel = TestRunnerErrorLevel // a type alias to keep backwards co /// DEPRECATED. /// The xUnit parameter type [] +[] type XUnitParams = { /// The path to the xunit.console.clr4.exe - FAKE will scan all subfolders to find it automatically. ToolPath : string diff --git a/src/app/FakeLib/Vb6helper.fs b/src/app/FakeLib/Vb6helper.fs index 4a266facd4c..aadd214a22e 100644 --- a/src/app/FakeLib/Vb6helper.fs +++ b/src/app/FakeLib/Vb6helper.fs @@ -10,6 +10,7 @@ open System open System.IO /// Parameters for running a VB6 build +[] type Vb6BuildParams = { /// Path to the VB6 executable diff --git a/src/app/FakeLib/WiXHelper.fs b/src/app/FakeLib/WiXHelper.fs index 1e2275d314e..ca8774da5c7 100644 --- a/src/app/FakeLib/WiXHelper.fs +++ b/src/app/FakeLib/WiXHelper.fs @@ -957,6 +957,7 @@ let setComponentsNeverOverwrite (components : string) = open System /// WiX parameter type +[] type WiXParams = { ToolDirectory : string TimeOut : TimeSpan diff --git a/src/app/FakeLib/XamarinHelper.fs b/src/app/FakeLib/XamarinHelper.fs index 03ce3c5ae07..c0ba9c433c9 100644 --- a/src/app/FakeLib/XamarinHelper.fs +++ b/src/app/FakeLib/XamarinHelper.fs @@ -19,6 +19,7 @@ let private executeCommand command args = if result.ExitCode <> 0 then failwithf "%s exited with error %d" command result.ExitCode /// The package restore paramater type +[] type XamarinComponentRestoreParams = { /// Path to xamarin-component.exe, defaults to checking tools/xpkg ToolPath: string @@ -41,6 +42,7 @@ let RestoreComponents setParams projectFile = |> restoreComponents projectFile /// The iOS build paramater type +[] type iOSBuildParams = { /// (Required) Path to solution or project file ProjectPath: string @@ -123,6 +125,7 @@ let iOSBuild setParams = |> buildProject /// The Android packaging parameter type +[] type AndroidPackageParams = { /// (Required) Path to the Android project file (not the solution file!) ProjectPath: string @@ -260,6 +263,7 @@ let AndroidPackage setParams = AndroidBuildPackages setParams |> Seq.exactlyOne // Parameters for signing and aligning an Android package +[] type AndroidSignAndAlignParams = { /// (Required) Path to keystore used to sign the app KeystorePath: string @@ -328,6 +332,7 @@ let AndroidSignAndAlignPackages setParams apkFiles = apkFiles |> Seq.map (fun f -> AndroidSignAndAlign setParams f) /// The iOS archive paramater type +[] type iOSArchiveParams = { /// Path to desired solution file. If not provided, mdtool finds the first solution in the current directory. /// Although mdtool can take a project file, the archiving seems to fail to work without a solution. diff --git a/src/app/FakeLib/XpkgHelper.fs b/src/app/FakeLib/XpkgHelper.fs index 018643e2b64..4cd24eb9e51 100644 --- a/src/app/FakeLib/XpkgHelper.fs +++ b/src/app/FakeLib/XpkgHelper.fs @@ -6,6 +6,7 @@ open System open System.Text /// Parameter type for xpkg tasks +[] type xpkgParams = { ToolPath : string WorkingDir : string