From a9c002b385635de92e84f903c5981d22551ab6d2 Mon Sep 17 00:00:00 2001 From: ssteward54 Date: Sun, 6 Jul 2014 11:07:51 -0500 Subject: [PATCH] Update SpecFlowHelper to search for tools folder Fixed initial change to include toolname variable. --- src/app/FakeLib/SpecFlowHelper.fs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/FakeLib/SpecFlowHelper.fs b/src/app/FakeLib/SpecFlowHelper.fs index 7b5ff756459..a98818638b4 100644 --- a/src/app/FakeLib/SpecFlowHelper.fs +++ b/src/app/FakeLib/SpecFlowHelper.fs @@ -22,12 +22,14 @@ type SpecFlowParams = { XsltFile: string } +let toolname = "specflow.exe" + /// SpecFlow default execution parameters. let SpecFlowDefaults = { SubCommand = "generateall" ProjectFile = null - ToolName = "specflow.exe" - ToolPath = findToolFolderInSubPath ToolName (currentDirectory @@ "tools" @@ "SpecFlow") + ToolName = toolname + ToolPath = findToolFolderInSubPath toolname (currentDirectory @@ "tools" @@ "SpecFlow") WorkingDir = null BinFolder = null OutputFile = null