Skip to content

Commit 58ad587

Browse files
author
Rasmus Nielsen
committed
text=auto
1 parent a9b6fc0 commit 58ad587

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+67816
-67597
lines changed

.gitattributes

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
*.sln merge=union
7+
*.csproj merge=union
8+
*.vbproj merge=union
9+
*.fsproj merge=union
10+
*.dbproj merge=union
11+
12+
# Standard to msysgit
13+
*.doc diff=astextplain
14+
*.DOC diff=astextplain
15+
*.docx diff=astextplain
16+
*.DOCX diff=astextplain
17+
*.dot diff=astextplain
18+
*.DOT diff=astextplain
19+
*.pdf diff=astextplain
20+
*.PDF diff=astextplain
21+
*.rtf diff=astextplain
22+
*.RTF diff=astextplain

.gitignore

Lines changed: 216 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,219 @@
1-
# Untracked files:
2-
*.docstates
3-
*.pidb
4-
*.nupkg
1+
#################
2+
## Eclipse
3+
#################
4+
5+
*.pydevproject
6+
.project
7+
.metadata
8+
bin/
9+
tmp/
10+
*.tmp
11+
*.bak
12+
*.swp
13+
*~.nib
14+
local.properties
15+
.classpath
16+
.settings/
17+
.loadpath
18+
19+
# External tool builders
20+
.externalToolBuilders/
21+
22+
# Locally stored "Eclipse launch configurations"
23+
*.launch
24+
25+
# CDT-specific
26+
.cproject
27+
28+
# PDT-specific
29+
.buildpath
30+
31+
32+
#################
33+
## Visual Studio
34+
#################
35+
36+
## Ignore Visual Studio temporary files, build results, and
37+
## files generated by popular Visual Studio add-ons.
38+
39+
# User-specific files
540
*.suo
6-
*.userprefs
741
*.user
42+
*.sln.docstates
843
*.DotSettings
9-
.DS_store
10-
*ReSharper*
11-
packages/*
12-
Help/*
13-
C5/bin/*
14-
C5/obj/*
15-
C5.Tests/bin/*
16-
C5.Tests/obj/*
17-
C5.UserGuideExamples/bin/*
18-
C5.UserGuideExamples/obj/*
19-
test-results/*
20-
21-
# Include
22-
!/.nuget/*
44+
*.nupkg
45+
packages/
46+
47+
48+
# Build results
49+
50+
[Dd]ebug/
51+
[Rr]elease/
52+
x64/
53+
build/
54+
[Bb]in/
55+
[Oo]bj/
56+
57+
# MSTest test Results
58+
[Tt]est[Rr]esult*/
59+
[Bb]uild[Ll]og.*
60+
61+
*_i.c
62+
*_p.c
63+
*.ilk
64+
*.meta
65+
*.obj
66+
*.pch
67+
*.pdb
68+
*.pgc
69+
*.pgd
70+
*.rsp
71+
*.sbr
72+
*.tlb
73+
*.tli
74+
*.tlh
75+
*.tmp
76+
*.tmp_proj
77+
*.log
78+
*.vspscc
79+
*.vssscc
80+
.builds
81+
*.pidb
82+
*.log
83+
*.scc
84+
85+
# Visual C++ cache files
86+
ipch/
87+
*.aps
88+
*.ncb
89+
*.opensdf
90+
*.sdf
91+
*.cachefile
92+
93+
# Visual Studio profiler
94+
*.psess
95+
*.vsp
96+
*.vspx
97+
98+
# Guidance Automation Toolkit
99+
*.gpState
100+
101+
# ReSharper is a .NET coding add-in
102+
_ReSharper*/
103+
*.[Rr]e[Ss]harper
104+
105+
# TeamCity is a build add-in
106+
_TeamCity*
107+
108+
# DotCover is a Code Coverage Tool
109+
*.dotCover
110+
111+
# NCrunch
112+
*.ncrunch*
113+
.*crunch*.local.xml
114+
115+
# Installshield output folder
116+
[Ee]xpress/
117+
118+
# DocProject is a documentation generator add-in
119+
DocProject/buildhelp/
120+
DocProject/Help/*.HxT
121+
DocProject/Help/*.HxC
122+
DocProject/Help/*.hhc
123+
DocProject/Help/*.hhk
124+
DocProject/Help/*.hhp
125+
DocProject/Help/Html2
126+
DocProject/Help/html
127+
128+
# Click-Once directory
129+
publish/
130+
131+
# Publish Web Output
132+
*.Publish.xml
133+
*.pubxml
134+
135+
# NuGet Packages Directory
136+
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
137+
#packages/
138+
139+
# Windows Azure Build Output
140+
csx
141+
*.build.csdef
142+
143+
# Windows Store app package directory
144+
AppPackages/
145+
146+
# Others
147+
sql/
148+
*.Cache
149+
ClientBin/
150+
[Ss]tyle[Cc]op.*
151+
~$*
152+
*~
153+
*.dbmdl
154+
*.[Pp]ublish.xml
155+
*.pfx
156+
*.publishsettings
157+
158+
# RIA/Silverlight projects
159+
Generated_Code/
160+
161+
# Backup & report files from converting an old project file to a newer
162+
# Visual Studio version. Backup files are not needed, because we have git ;-)
163+
_UpgradeReport_Files/
164+
Backup*/
165+
UpgradeLog*.XML
166+
UpgradeLog*.htm
167+
168+
# SQL Server files
169+
App_Data/*.mdf
170+
App_Data/*.ldf
171+
172+
#############
173+
## Windows detritus
174+
#############
175+
176+
# Windows image file caches
177+
Thumbs.db
178+
ehthumbs.db
179+
180+
# Folder config file
181+
Desktop.ini
182+
183+
# Recycle Bin used on file shares
184+
$RECYCLE.BIN/
185+
186+
# Mac crap
187+
.DS_Store
188+
189+
190+
#############
191+
## Python
192+
#############
193+
194+
*.py[co]
195+
196+
# Packages
197+
*.egg
198+
*.egg-info
199+
dist/
200+
build/
201+
eggs/
202+
parts/
203+
var/
204+
sdist/
205+
develop-eggs/
206+
.installed.cfg
207+
208+
# Installer logs
209+
pip-log.txt
210+
211+
# Unit test / coverage reports
212+
.coverage
213+
.tox
214+
215+
#Translations
216+
*.mo
217+
218+
#Mr Developer
219+
.mr.developer.cfg

.nuget/NuGet.Config

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<configuration>
3-
<solution>
4-
<add key="disableSourceControlIntegration" value="true" />
5-
</solution>
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<solution>
4+
<add key="disableSourceControlIntegration" value="true" />
5+
</solution>
66
</configuration>

.nuget/NuGet.targets

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<PropertyGroup>
4-
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
5-
<NuGetToolsPath>$(SolutionDir)\.nuget</NuGetToolsPath>
6-
<NuGetExePath>$(NuGetToolsPath)\nuget.exe</NuGetExePath>
7-
<PackagesConfig>$([System.IO.Path]::Combine($(ProjectDir), "packages.config"))</PackagesConfig>
8-
<PackagesDir>$([System.IO.Path]::Combine($(SolutionDir), "packages"))</PackagesDir>
9-
<PackageOutputDir Condition="$(PackageOutputDir) == ''">$(TargetDir.Trim('\\'))</PackageOutputDir>
10-
11-
<!-- Package sources used to restore packages. By default will used the registered sources under %APPDATA%\NuGet\NuGet.Config -->
12-
<PackageSources>""</PackageSources>
13-
14-
<!-- Enable the restore command to run before builds -->
15-
<RestorePackages Condition="$(RestorePackages) == ''">false</RestorePackages>
16-
17-
<!-- Property that enables building a package from a project -->
18-
<BuildPackage Condition="$(BuildPackage) == ''">false</BuildPackage>
19-
20-
<!-- Commands -->
21-
<RestoreCommand>"$(NuGetExePath)" install "$(PackagesConfig)" -source $(PackageSources) -o "$(PackagesDir)"</RestoreCommand>
22-
<BuildCommand>"$(NuGetExePath)" pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "$(PackageOutputDir)" -symbols</BuildCommand>
23-
24-
<!-- Make the build depend on restore packages -->
25-
<BuildDependsOn Condition="$(RestorePackages) == 'true'">
26-
RestorePackages;
27-
$(BuildDependsOn);
28-
</BuildDependsOn>
29-
30-
<!-- Make the build depend on restore packages -->
31-
<BuildDependsOn Condition="$(BuildPackage) == 'true'">
32-
$(BuildDependsOn);
33-
BuildPackage;
34-
</BuildDependsOn>
35-
</PropertyGroup>
36-
37-
<Target Name="CheckPrerequisites">
38-
<!-- Raise an error if we're unable to locate nuget.exe -->
39-
<Error Condition="!Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" />
40-
</Target>
41-
42-
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
43-
<Exec Command="$(RestoreCommand)"
44-
LogStandardErrorAsError="true"
45-
Condition="Exists('$(PackagesConfig)')" />
46-
</Target>
47-
48-
<Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
49-
<Exec Command="$(BuildCommand)"
50-
LogStandardErrorAsError="true" />
51-
</Target>
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
5+
<NuGetToolsPath>$(SolutionDir)\.nuget</NuGetToolsPath>
6+
<NuGetExePath>$(NuGetToolsPath)\nuget.exe</NuGetExePath>
7+
<PackagesConfig>$([System.IO.Path]::Combine($(ProjectDir), "packages.config"))</PackagesConfig>
8+
<PackagesDir>$([System.IO.Path]::Combine($(SolutionDir), "packages"))</PackagesDir>
9+
<PackageOutputDir Condition="$(PackageOutputDir) == ''">$(TargetDir.Trim('\\'))</PackageOutputDir>
10+
11+
<!-- Package sources used to restore packages. By default will used the registered sources under %APPDATA%\NuGet\NuGet.Config -->
12+
<PackageSources>""</PackageSources>
13+
14+
<!-- Enable the restore command to run before builds -->
15+
<RestorePackages Condition="$(RestorePackages) == ''">false</RestorePackages>
16+
17+
<!-- Property that enables building a package from a project -->
18+
<BuildPackage Condition="$(BuildPackage) == ''">false</BuildPackage>
19+
20+
<!-- Commands -->
21+
<RestoreCommand>"$(NuGetExePath)" install "$(PackagesConfig)" -source $(PackageSources) -o "$(PackagesDir)"</RestoreCommand>
22+
<BuildCommand>"$(NuGetExePath)" pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "$(PackageOutputDir)" -symbols</BuildCommand>
23+
24+
<!-- Make the build depend on restore packages -->
25+
<BuildDependsOn Condition="$(RestorePackages) == 'true'">
26+
RestorePackages;
27+
$(BuildDependsOn);
28+
</BuildDependsOn>
29+
30+
<!-- Make the build depend on restore packages -->
31+
<BuildDependsOn Condition="$(BuildPackage) == 'true'">
32+
$(BuildDependsOn);
33+
BuildPackage;
34+
</BuildDependsOn>
35+
</PropertyGroup>
36+
37+
<Target Name="CheckPrerequisites">
38+
<!-- Raise an error if we're unable to locate nuget.exe -->
39+
<Error Condition="!Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" />
40+
</Target>
41+
42+
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
43+
<Exec Command="$(RestoreCommand)"
44+
LogStandardErrorAsError="true"
45+
Condition="Exists('$(PackagesConfig)')" />
46+
</Target>
47+
48+
<Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
49+
<Exec Command="$(BuildCommand)"
50+
LogStandardErrorAsError="true" />
51+
</Target>
5252
</Project>

0 commit comments

Comments
 (0)