Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Commit

Permalink
Started sketching out the formatter.
Browse files Browse the repository at this point in the history
  • Loading branch information
nblumhardt committed Sep 4, 2015
1 parent 633ad17 commit 2683376
Show file tree
Hide file tree
Showing 17 changed files with 2,896 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .gitattributes
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
46 changes: 46 additions & 0 deletions InfluxDB.LineProtocol.sln
@@ -0,0 +1,46 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{72DC28B9-37B5-425C-8532-5CA91D253A70}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{35451F76-443F-442E-BE7E-23020DA3F0C5}"
ProjectSection(SolutionItems) = preProject
global.json = global.json
EndProjectSection
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "InfluxDB.LineProtocol", "src\InfluxDB.LineProtocol\InfluxDB.LineProtocol.xproj", "{069E0AC5-A2CF-4584-89A7-F475276E244C}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "InfluxDB.LineProtocol.Tests", "src\InfluxDB.LineProtocol.Tests\InfluxDB.LineProtocol.Tests.xproj", "{34173CA2-1551-4E46-B8E7-E4629A48E415}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Sample", "src\Sample\Sample.xproj", "{DC6028D6-ED1D-4857-B5EB-28BA05E3F531}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{069E0AC5-A2CF-4584-89A7-F475276E244C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{069E0AC5-A2CF-4584-89A7-F475276E244C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{069E0AC5-A2CF-4584-89A7-F475276E244C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{069E0AC5-A2CF-4584-89A7-F475276E244C}.Release|Any CPU.Build.0 = Release|Any CPU
{34173CA2-1551-4E46-B8E7-E4629A48E415}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{34173CA2-1551-4E46-B8E7-E4629A48E415}.Debug|Any CPU.Build.0 = Debug|Any CPU
{34173CA2-1551-4E46-B8E7-E4629A48E415}.Release|Any CPU.ActiveCfg = Release|Any CPU
{34173CA2-1551-4E46-B8E7-E4629A48E415}.Release|Any CPU.Build.0 = Release|Any CPU
{DC6028D6-ED1D-4857-B5EB-28BA05E3F531}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DC6028D6-ED1D-4857-B5EB-28BA05E3F531}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DC6028D6-ED1D-4857-B5EB-28BA05E3F531}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DC6028D6-ED1D-4857-B5EB-28BA05E3F531}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{069E0AC5-A2CF-4584-89A7-F475276E244C} = {72DC28B9-37B5-425C-8532-5CA91D253A70}
{34173CA2-1551-4E46-B8E7-E4629A48E415} = {72DC28B9-37B5-425C-8532-5CA91D253A70}
{DC6028D6-ED1D-4857-B5EB-28BA05E3F531} = {72DC28B9-37B5-425C-8532-5CA91D253A70}
EndGlobalSection
EndGlobal
8 changes: 8 additions & 0 deletions global.json
@@ -0,0 +1,8 @@
{
"projects": [ "src", "test" ],
"sdk": {
"version": "1.0.0-beta7",
"runtime": "clr",
"architecture": "x86"
}
}
20 changes: 20 additions & 0 deletions src/InfluxDB.LineProtocol.Tests/InfluxDB.LineProtocol.Tests.xproj
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>

<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>34173ca2-1551-4e46-b8e7-e4629a48e415</ProjectGuid>
<RootNamespace>InfluxDB.LineProtocol.Tests</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup>

<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>
26 changes: 26 additions & 0 deletions src/InfluxDB.LineProtocol.Tests/project.json
@@ -0,0 +1,26 @@
{
"version": "1.0.0-*",
"description": "InfluxDB.LineProtocol.Tests Class Library",
"authors": [ "nblumhardt" ],
"tags": [ "" ],
"projectUrl": "",
"licenseUrl": "",

"dependencies": {
"System.Collections": "4.0.10-beta-23019",
"System.Linq": "4.0.0-beta-23019",
"System.Threading": "4.0.10-beta-23019",
"System.Runtime": "4.0.10-beta-23019",
"Microsoft.CSharp": "4.0.0-beta-23019",
"xunit": "2.1.0-*",
"InfluxDB.LineProtocol": "1.0.0-*"
},

"frameworks": {
"dotnet": { }
},

"commands": {
"test": "xunit.runner.dnx"
}
}

0 comments on commit 2683376

Please sign in to comment.