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

Commit 2683376

Browse files
committed
Started sketching out the formatter.
1 parent 633ad17 commit 2683376

17 files changed

+2896
-0
lines changed

.gitattributes

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

InfluxDB.LineProtocol.sln

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.23107.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{72DC28B9-37B5-425C-8532-5CA91D253A70}"
7+
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{35451F76-443F-442E-BE7E-23020DA3F0C5}"
9+
ProjectSection(SolutionItems) = preProject
10+
global.json = global.json
11+
EndProjectSection
12+
EndProject
13+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "InfluxDB.LineProtocol", "src\InfluxDB.LineProtocol\InfluxDB.LineProtocol.xproj", "{069E0AC5-A2CF-4584-89A7-F475276E244C}"
14+
EndProject
15+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "InfluxDB.LineProtocol.Tests", "src\InfluxDB.LineProtocol.Tests\InfluxDB.LineProtocol.Tests.xproj", "{34173CA2-1551-4E46-B8E7-E4629A48E415}"
16+
EndProject
17+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Sample", "src\Sample\Sample.xproj", "{DC6028D6-ED1D-4857-B5EB-28BA05E3F531}"
18+
EndProject
19+
Global
20+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
21+
Debug|Any CPU = Debug|Any CPU
22+
Release|Any CPU = Release|Any CPU
23+
EndGlobalSection
24+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
25+
{069E0AC5-A2CF-4584-89A7-F475276E244C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
26+
{069E0AC5-A2CF-4584-89A7-F475276E244C}.Debug|Any CPU.Build.0 = Debug|Any CPU
27+
{069E0AC5-A2CF-4584-89A7-F475276E244C}.Release|Any CPU.ActiveCfg = Release|Any CPU
28+
{069E0AC5-A2CF-4584-89A7-F475276E244C}.Release|Any CPU.Build.0 = Release|Any CPU
29+
{34173CA2-1551-4E46-B8E7-E4629A48E415}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30+
{34173CA2-1551-4E46-B8E7-E4629A48E415}.Debug|Any CPU.Build.0 = Debug|Any CPU
31+
{34173CA2-1551-4E46-B8E7-E4629A48E415}.Release|Any CPU.ActiveCfg = Release|Any CPU
32+
{34173CA2-1551-4E46-B8E7-E4629A48E415}.Release|Any CPU.Build.0 = Release|Any CPU
33+
{DC6028D6-ED1D-4857-B5EB-28BA05E3F531}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34+
{DC6028D6-ED1D-4857-B5EB-28BA05E3F531}.Debug|Any CPU.Build.0 = Debug|Any CPU
35+
{DC6028D6-ED1D-4857-B5EB-28BA05E3F531}.Release|Any CPU.ActiveCfg = Release|Any CPU
36+
{DC6028D6-ED1D-4857-B5EB-28BA05E3F531}.Release|Any CPU.Build.0 = Release|Any CPU
37+
EndGlobalSection
38+
GlobalSection(SolutionProperties) = preSolution
39+
HideSolutionNode = FALSE
40+
EndGlobalSection
41+
GlobalSection(NestedProjects) = preSolution
42+
{069E0AC5-A2CF-4584-89A7-F475276E244C} = {72DC28B9-37B5-425C-8532-5CA91D253A70}
43+
{34173CA2-1551-4E46-B8E7-E4629A48E415} = {72DC28B9-37B5-425C-8532-5CA91D253A70}
44+
{DC6028D6-ED1D-4857-B5EB-28BA05E3F531} = {72DC28B9-37B5-425C-8532-5CA91D253A70}
45+
EndGlobalSection
46+
EndGlobal

global.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"projects": [ "src", "test" ],
3+
"sdk": {
4+
"version": "1.0.0-beta7",
5+
"runtime": "clr",
6+
"architecture": "x86"
7+
}
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
5+
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
6+
</PropertyGroup>
7+
8+
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
9+
<PropertyGroup Label="Globals">
10+
<ProjectGuid>34173ca2-1551-4e46-b8e7-e4629a48e415</ProjectGuid>
11+
<RootNamespace>InfluxDB.LineProtocol.Tests</RootNamespace>
12+
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
13+
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
14+
</PropertyGroup>
15+
16+
<PropertyGroup>
17+
<SchemaVersion>2.0</SchemaVersion>
18+
</PropertyGroup>
19+
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
20+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"version": "1.0.0-*",
3+
"description": "InfluxDB.LineProtocol.Tests Class Library",
4+
"authors": [ "nblumhardt" ],
5+
"tags": [ "" ],
6+
"projectUrl": "",
7+
"licenseUrl": "",
8+
9+
"dependencies": {
10+
"System.Collections": "4.0.10-beta-23019",
11+
"System.Linq": "4.0.0-beta-23019",
12+
"System.Threading": "4.0.10-beta-23019",
13+
"System.Runtime": "4.0.10-beta-23019",
14+
"Microsoft.CSharp": "4.0.0-beta-23019",
15+
"xunit": "2.1.0-*",
16+
"InfluxDB.LineProtocol": "1.0.0-*"
17+
},
18+
19+
"frameworks": {
20+
"dotnet": { }
21+
},
22+
23+
"commands": {
24+
"test": "xunit.runner.dnx"
25+
}
26+
}

0 commit comments

Comments
 (0)