-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
390 changed files
with
18,539 additions
and
8,065 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
/projects | ||
/archive | ||
/release | ||
/applibs | ||
|
||
/env.cmd | ||
/*.zip | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Text; | ||
|
||
namespace Mastersign.Bench.Cli | ||
{ | ||
static class ArgumentValidation | ||
{ | ||
public static bool ContainsOneOfChars(string v, char[] chars) | ||
{ | ||
foreach (var c in chars) | ||
{ | ||
if (v.Contains(new string(new[] { c }))) return true; | ||
} | ||
return false; | ||
} | ||
|
||
public static bool IsValidPath(string v) | ||
{ | ||
return !ContainsOneOfChars(v, Path.GetInvalidPathChars()); | ||
} | ||
|
||
public static bool IsIdString(string v) | ||
{ | ||
return !string.IsNullOrEmpty(v) && !v.Contains(" "); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="..\packages\Microsoft.Net.Compilers.1.3.2\build\Microsoft.Net.Compilers.props" Condition="Exists('..\packages\Microsoft.Net.Compilers.1.3.2\build\Microsoft.Net.Compilers.props')" /> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{64E94A41-026F-473C-BC48-70F8D5EB977A}</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>Mastersign.Bench.Cli</RootNamespace> | ||
<AssemblyName>bench</AssemblyName> | ||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
<TargetFrameworkProfile /> | ||
<NuGetPackageImportStamp> | ||
</NuGetPackageImportStamp> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<ApplicationIcon>logo.ico</ApplicationIcon> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Mastersign.Sequence, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
<HintPath>..\packages\Mastersign.Sequence.1.1.0\lib\net20\Mastersign.Sequence.dll</HintPath> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="ArgumentValidation.cs" /> | ||
<Compile Include="CliTools\ArgumentCompletionConsoleDialog.cs" /> | ||
<Compile Include="CliTools\ConsoleDialog.cs" /> | ||
<Compile Include="CliTools\ConsoleOperation.cs" /> | ||
<Compile Include="CliTools\ITableWriter.cs" /> | ||
<Compile Include="CliTools\TableWriterFactory.cs" /> | ||
<Compile Include="CliTools\MarkdownTableWriter.cs" /> | ||
<Compile Include="Commands\AppActivateCommand.cs" /> | ||
<Compile Include="Commands\AppDeactivateCommand.cs" /> | ||
<Compile Include="Commands\AppExecuteCommand.cs" /> | ||
<Compile Include="Commands\AppReinstallCommand.cs" /> | ||
<Compile Include="Commands\AppUpgradeCommand.cs" /> | ||
<Compile Include="Commands\AppDownloadCommand.cs" /> | ||
<Compile Include="Commands\AppInstallCommand.cs" /> | ||
<Compile Include="Commands\AppUninstallCommand.cs" /> | ||
<Compile Include="Commands\AutoSetupCommand.cs" /> | ||
<Compile Include="Commands\BenchCommand.cs" /> | ||
<Compile Include="Commands\AppCommand.cs" /> | ||
<Compile Include="CliTools\ArgumentParser.cs" /> | ||
<Compile Include="Commands\AppListPropertiesCommand.cs" /> | ||
<Compile Include="Commands\AppInfoCommand.cs" /> | ||
<Compile Include="Commands\AppPropertyCommand.cs" /> | ||
<Compile Include="Commands\ConfigCommand.cs" /> | ||
<Compile Include="Commands\ConfigGetCommand.cs" /> | ||
<Compile Include="Commands\ListAppLibrariesCommand.cs" /> | ||
<Compile Include="Commands\ListConfigFilesCommand.cs" /> | ||
<Compile Include="Commands\DashboardCommand.cs" /> | ||
<Compile Include="Commands\DownloadsCommand.cs" /> | ||
<Compile Include="CliTools\ConsoleMapWriter.cs" /> | ||
<Compile Include="CliTools\DataOutputFormat.cs" /> | ||
<Compile Include="Commands\HelpCommand.cs" /> | ||
<Compile Include="Commands\InitializeCommand.cs" /> | ||
<Compile Include="Commands\ListCommand.cs" /> | ||
<Compile Include="Commands\ManageCommand.cs" /> | ||
<Compile Include="Commands\ProjectCommand.cs" /> | ||
<Compile Include="Commands\ReinstallCommand.cs" /> | ||
<Compile Include="Commands\RenewCommand.cs" /> | ||
<Compile Include="Commands\UpdateCommand.cs" /> | ||
<Compile Include="Commands\UpdateEnvironmentCommand.cs" /> | ||
<Compile Include="Commands\LoadAppLibrariesCommand.cs" /> | ||
<Compile Include="Commands\UpgradeCommand.cs" /> | ||
<Compile Include="Docs\BlockType.cs" /> | ||
<Compile Include="Docs\DocumentContentGenerator.cs" /> | ||
<Compile Include="Docs\DocumentOutputFormat.cs" /> | ||
<Compile Include="Docs\DocumentWriter.cs" /> | ||
<Compile Include="Docs\DocumentWriterFactory.cs" /> | ||
<Compile Include="Docs\IDocumentElements.cs" /> | ||
<Compile Include="Docs\InlineType.cs" /> | ||
<Compile Include="Docs\Document.cs" /> | ||
<Compile Include="Docs\MarkdownDocumentWriter.cs" /> | ||
<Compile Include="Docs\PlainTextDocumentWriter.cs" /> | ||
<Compile Include="CliTools\CommandBase.cs" /> | ||
<Compile Include="CliTools\HelpFormatter.cs" /> | ||
<Compile Include="Docs\IDocumentWriter.cs" /> | ||
<Compile Include="Commands\RootCommand.cs" /> | ||
<Compile Include="CliTools\IMapWriter.cs" /> | ||
<Compile Include="CliTools\MarkdownMapWriter.cs" /> | ||
<Compile Include="Commands\ListAppsCommand.cs" /> | ||
<Compile Include="Program.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="PropertyWriter.cs" /> | ||
<Compile Include="CliTools\MapWriterFactory.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\BenchLib\BenchLib.csproj"> | ||
<Project>{3ff60d62-d733-40e8-b759-848fae5fea93}</Project> | ||
<Name>BenchLib</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="CliTools\ConsoleTableWriter.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="logo.ico" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="packages.config" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
Oops, something went wrong.