diff --git a/vimgq/vimgq.sln b/vimgq/vimgq.sln new file mode 100644 index 0000000..d8d485e --- /dev/null +++ b/vimgq/vimgq.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.31101.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "vimgq", "vimgq\vimgq.fsproj", "{3F8C0B31-7F20-42EE-8706-EB90658C1CDF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "vimgq.specs", "vimgq.specs\vimgq.specs.csproj", "{7AD4DB2E-E5A1-4DE1-A3FA-EB3B58241552}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3F8C0B31-7F20-42EE-8706-EB90658C1CDF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3F8C0B31-7F20-42EE-8706-EB90658C1CDF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3F8C0B31-7F20-42EE-8706-EB90658C1CDF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3F8C0B31-7F20-42EE-8706-EB90658C1CDF}.Release|Any CPU.Build.0 = Release|Any CPU + {7AD4DB2E-E5A1-4DE1-A3FA-EB3B58241552}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7AD4DB2E-E5A1-4DE1-A3FA-EB3B58241552}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7AD4DB2E-E5A1-4DE1-A3FA-EB3B58241552}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7AD4DB2E-E5A1-4DE1-A3FA-EB3B58241552}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/vimgq/vimgq.specs/Class1.cs b/vimgq/vimgq.specs/Class1.cs new file mode 100644 index 0000000..6873a84 --- /dev/null +++ b/vimgq/vimgq.specs/Class1.cs @@ -0,0 +1,14 @@ +using Xunit; + +namespace vimgq.specs +{ + public class FormatOneLineTest + { + [Fact] + public void FormatOneEmptyLineDoesNothing() + { + var formatted = FormatLines.oneLine(string.Empty); + Assert.Equal(string.Empty, formatted); + } + } +} diff --git a/vimgq/vimgq.specs/Properties/AssemblyInfo.cs b/vimgq/vimgq.specs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..8a344c7 --- /dev/null +++ b/vimgq/vimgq.specs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("vimgq.specs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("vimgq.specs")] +[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("2252cdb6-4cd6-445a-b700-b74f52ce1966")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/vimgq/vimgq.specs/packages.config b/vimgq/vimgq.specs/packages.config new file mode 100644 index 0000000..600c8fc --- /dev/null +++ b/vimgq/vimgq.specs/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/vimgq/vimgq.specs/vimgq.specs.csproj b/vimgq/vimgq.specs/vimgq.specs.csproj new file mode 100644 index 0000000..e8b9956 --- /dev/null +++ b/vimgq/vimgq.specs/vimgq.specs.csproj @@ -0,0 +1,65 @@ + + + + + Debug + AnyCPU + {7AD4DB2E-E5A1-4DE1-A3FA-EB3B58241552} + Library + Properties + vimgq.specs + vimgq.specs + v4.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + ..\packages\xunit.1.9.2\lib\net20\xunit.dll + + + + + + + + + {3f8c0b31-7f20-42ee-8706-eb90658c1cdf} + vimgq + + + + + + + + \ No newline at end of file diff --git a/vimgq/vimgq/App.config b/vimgq/vimgq/App.config new file mode 100644 index 0000000..fad249e --- /dev/null +++ b/vimgq/vimgq/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/vimgq/vimgq/FormatLines.fs b/vimgq/vimgq/FormatLines.fs new file mode 100644 index 0000000..270310a --- /dev/null +++ b/vimgq/vimgq/FormatLines.fs @@ -0,0 +1,3 @@ +module FormatLines + +let oneLine x = x \ No newline at end of file diff --git a/vimgq/vimgq/Program.fs b/vimgq/vimgq/Program.fs new file mode 100644 index 0000000..100f416 --- /dev/null +++ b/vimgq/vimgq/Program.fs @@ -0,0 +1,7 @@ +// Learn more about F# at http://fsharp.net +// See the 'F# Tutorial' project for more help. + +[] +let main argv = + printfn "%A" argv + 0 // return an integer exit code diff --git a/vimgq/vimgq/vimgq.fsproj b/vimgq/vimgq/vimgq.fsproj new file mode 100644 index 0000000..c3c3924 --- /dev/null +++ b/vimgq/vimgq/vimgq.fsproj @@ -0,0 +1,77 @@ + + + + + Debug + AnyCPU + 2.0 + 3f8c0b31-7f20-42ee-8706-eb90658c1cdf + Exe + vimgq + vimgq + v4.5 + true + 4.3.1.0 + vimgq + + + true + full + false + false + bin\Debug\ + DEBUG;TRACE + 3 + AnyCPU + bin\Debug\vimgq.XML + true + + + pdbonly + true + true + bin\Release\ + TRACE + 3 + AnyCPU + bin\Release\vimgq.XML + true + + + + + True + + + + + + + + + + + + 11 + + + + + $(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets + + + + + + \ No newline at end of file