Skip to content

Commit

Permalink
Add support for -experimental flag
Browse files Browse the repository at this point in the history
Resolves #29
  • Loading branch information
agc93 committed Sep 26, 2016
1 parent 7b29c49 commit b5f7db6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/TaskRunner/TaskRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ private void InitializeCakeRunnerOptions()
new TaskRunnerOption("Verbose", PackageIds.cmdVerbose, PackageGuids.GuidCakePackageCmdSet, false,
"-Verbosity=\"Diagnostic\""),
new TaskRunnerOption("Debug", PackageIds.cmdDebug, PackageGuids.GuidCakePackageCmdSet, false, "-debug"),
new TaskRunnerOption("Dry Run", PackageIds.cmdDryRun, PackageGuids.GuidCakePackageCmdSet, false, "-dryrun")
new TaskRunnerOption("Dry Run", PackageIds.cmdDryRun, PackageGuids.GuidCakePackageCmdSet, false, "-dryrun"),
new TaskRunnerOption("Experimental", PackageIds.cmdExperimental, PackageGuids.GuidCakePackageCmdSet, false, "-experimental")
};
}

Expand Down
3 changes: 2 additions & 1 deletion src/VsCommandTable.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// This file was generated by Extensibility Tools v1.8.166
// This file was generated by Extensibility Tools v1.10.184
// </auto-generated>
// ------------------------------------------------------------------------------
namespace Cake.VisualStudio
Expand Down Expand Up @@ -32,6 +32,7 @@ internal sealed partial class PackageIds
public const int cmdDebug = 0x0101;
public const int cmdVerbose = 0x0102;
public const int cmdDryRun = 0x0103;
public const int cmdExperimental = 0x0104;
public const int IDG_TASKRUNNER_TOOLBAR_CUSTOM_COMMANDS = 0x2002;
public const int SubMenuGroup = 0x1020;
public const int CakeSubMenu = 0x1018;
Expand Down
11 changes: 11 additions & 0 deletions src/VsCommandTable.vsct
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@
<ButtonText>Dry Run</ButtonText>
</Strings>
</Button>
<Button guid="guidCakePackageCmdSet" id="cmdExperimental" priority="0x0400" type="Button">
<Parent guid="guidTaskRunnerExplorerCmdSet" id="IDG_TASKRUNNER_TOOLBAR_CUSTOM_COMMANDS" />
<Icon guid="ImageCatalogGuid" id="PropertySnippet" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Experimental</ButtonText>
</Strings>
</Button>
<Button guid="guidCakePackageCmdSet1" id="cmdidInstallBootstrapperCommand" priority="0x0100" type="Button">
<Parent guid="guidCakePackageCmdSet1" id="SubMenuGroup" />
<Icon guid="menuIcon" id="menuPsIcon" />
Expand Down Expand Up @@ -91,6 +101,7 @@
<IDSymbol name="cmdDebug" value="0x0101" />
<IDSymbol name="cmdVerbose" value="0x0102" />
<IDSymbol name="cmdDryRun" value="0x0103" />
<IDSymbol name="cmdExperimental" value="0x0104" />
</GuidSymbol>

<GuidSymbol name="guidTaskRunnerExplorerCmdSet" value="{9E78B319-2142-4381-873C-6EC83F092915}">
Expand Down

0 comments on commit b5f7db6

Please sign in to comment.