Skip to content

Commit 2f42dbb

Browse files
authored
Merge pull request #51 from jpdillingham/develop
Add analysis, sonarqube
2 parents 7fd47e6 + 3d5ef03 commit 2f42dbb

18 files changed

+427
-292
lines changed

.gitattributes

Lines changed: 0 additions & 63 deletions
This file was deleted.

.gitignore

Lines changed: 140 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
3+
##
4+
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
35

46
# User-specific files
57
*.suo
@@ -17,13 +19,18 @@
1719
[Rr]eleases/
1820
x64/
1921
x86/
20-
build/
2122
bld/
2223
[Bb]in/
2324
[Oo]bj/
25+
[Ll]og/
2426

25-
# Visual Studio 2015 cache/options directory
27+
# Visual Studio 2015/2017 cache/options directory
2628
.vs/
29+
# Uncomment if you have tasks that create the project's static files in wwwroot
30+
#wwwroot/
31+
32+
# Visual Studio 2017 auto generated files
33+
Generated\ Files/
2734

2835
# MSTest test Results
2936
[Tt]est[Rr]esult*/
@@ -38,18 +45,29 @@ TestResult.xml
3845
[Rr]eleasePS/
3946
dlldata.c
4047

41-
# DNX
48+
# Benchmark Results
49+
BenchmarkDotNet.Artifacts/
50+
51+
# .NET Core
4252
project.lock.json
53+
project.fragment.lock.json
4354
artifacts/
55+
**/Properties/launchSettings.json
4456

57+
# StyleCop
58+
StyleCopReport.xml
59+
60+
# Files built by Visual Studio
4561
*_i.c
4662
*_p.c
4763
*_i.h
4864
*.ilk
4965
*.meta
5066
*.obj
67+
*.iobj
5168
*.pch
5269
*.pdb
70+
*.ipdb
5371
*.pgc
5472
*.pgd
5573
*.rsp
@@ -74,14 +92,21 @@ _Chutzpah*
7492
ipch/
7593
*.aps
7694
*.ncb
95+
*.opendb
7796
*.opensdf
7897
*.sdf
7998
*.cachefile
99+
*.VC.db
100+
*.VC.VC.opendb
80101

81102
# Visual Studio profiler
82103
*.psess
83104
*.vsp
84105
*.vspx
106+
*.sap
107+
108+
# Visual Studio Trace Files
109+
*.e2e
85110

86111
# TFS 2012 Local Workspace
87112
$tf/
@@ -103,9 +128,18 @@ _TeamCity*
103128
# DotCover is a Code Coverage Tool
104129
*.dotCover
105130

131+
# AxoCover is a Code Coverage Tool
132+
.axoCover/*
133+
!.axoCover/settings.json
134+
135+
# Visual Studio code coverage results
136+
*.coverage
137+
*.coveragexml
138+
106139
# NCrunch
107140
_NCrunch_*
108141
.*crunch*.local.xml
142+
nCrunchTemp_*
109143

110144
# MightyMoose
111145
*.mm.*
@@ -133,28 +167,42 @@ publish/
133167
# Publish Web Output
134168
*.[Pp]ublish.xml
135169
*.azurePubxml
136-
## TODO: Comment the next line if you want to checkin your
137-
## web deploy settings but do note that will include unencrypted
138-
## passwords
139-
#*.pubxml
140-
170+
# Note: Comment the next line if you want to checkin your web deploy settings,
171+
# but database connection strings (with potential passwords) will be unencrypted
172+
*.pubxml
141173
*.publishproj
142174

175+
# Microsoft Azure Web App publish settings. Comment the next line if you want to
176+
# checkin your Azure Web App publish settings, but sensitive information contained
177+
# in these scripts will be unencrypted
178+
PublishScripts/
179+
143180
# NuGet Packages
144181
*.nupkg
145182
# The packages folder can be ignored because of Package Restore
146-
**/packages/*
183+
**/[Pp]ackages/*
147184
# except build/, which is used as an MSBuild target.
148-
!**/packages/build/
185+
!**/[Pp]ackages/build/
149186
# Uncomment if necessary however generally it will be regenerated when needed
150-
#!**/packages/repositories.config
187+
#!**/[Pp]ackages/repositories.config
188+
# NuGet v3's project.json files produces more ignorable files
189+
*.nuget.props
190+
*.nuget.targets
151191

152-
# Windows Azure Build Output
192+
# Microsoft Azure Build Output
153193
csx/
154194
*.build.csdef
155195

156-
# Windows Store app package directory
196+
# Microsoft Azure Emulator
197+
ecf/
198+
rcf/
199+
200+
# Windows Store app package directories and files
157201
AppPackages/
202+
BundleArtifacts/
203+
Package.StoreAssociation.xml
204+
_pkginfo.txt
205+
*.appx
158206

159207
# Visual Studio cache files
160208
# files ending in .cache can be ignored
@@ -168,11 +216,19 @@ ClientBin/
168216
*~
169217
*.dbmdl
170218
*.dbproj.schemaview
219+
*.jfm
171220
*.pfx
172221
*.publishsettings
173-
node_modules/
174222
orleans.codegen.cs
175223

224+
# Including strong name files can present a security risk
225+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
226+
#*.snk
227+
228+
# Since there are multiple workflows, uncomment next line to ignore bower_components
229+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
230+
#bower_components/
231+
176232
# RIA/Silverlight projects
177233
Generated_Code/
178234

@@ -183,32 +239,96 @@ _UpgradeReport_Files/
183239
Backup*/
184240
UpgradeLog*.XML
185241
UpgradeLog*.htm
242+
ServiceFabricBackup/
243+
*.rptproj.bak
186244

187245
# SQL Server files
188246
*.mdf
189247
*.ldf
248+
*.ndf
190249

191250
# Business Intelligence projects
192251
*.rdl.data
193252
*.bim.layout
194253
*.bim_*.settings
254+
*.rptproj.rsuser
195255

196256
# Microsoft Fakes
197257
FakesAssemblies/
198258

259+
# GhostDoc plugin setting file
260+
*.GhostDoc.xml
261+
199262
# Node.js Tools for Visual Studio
200263
.ntvs_analysis.dat
264+
node_modules/
201265

202266
# Visual Studio 6 build log
203267
*.plg
204268

205269
# Visual Studio 6 workspace options file
206270
*.opt
207271

208-
# LightSwitch generated files
209-
GeneratedArtifacts/
210-
_Pvt_Extensions/
211-
ModelManifest.xml
272+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
273+
*.vbw
274+
275+
# Visual Studio LightSwitch build output
276+
**/*.HTMLClient/GeneratedArtifacts
277+
**/*.DesktopClient/GeneratedArtifacts
278+
**/*.DesktopClient/ModelManifest.xml
279+
**/*.Server/GeneratedArtifacts
280+
**/*.Server/ModelManifest.xml
281+
_Pvt_Extensions
282+
283+
# Paket dependency manager
284+
.paket/paket.exe
285+
paket-files/
286+
287+
# FAKE - F# Make
288+
.fake/
289+
290+
# JetBrains Rider
291+
.idea/
292+
*.sln.iml
293+
294+
# CodeRush
295+
.cr/
296+
297+
# Python Tools for Visual Studio (PTVS)
298+
__pycache__/
299+
*.pyc
300+
301+
# Cake - Uncomment if you are using it
302+
# tools/**
303+
# !tools/packages.config
304+
305+
# Tabs Studio
306+
*.tss
307+
308+
# Telerik's JustMock configuration file
309+
*.jmconfig
310+
311+
# BizTalk build output
312+
*.btp.cs
313+
*.btm.cs
314+
*.odx.cs
315+
*.xsd.cs
316+
317+
# OpenCover UI analysis results
318+
OpenCover/
319+
320+
# Azure Stream Analytics local run output
321+
ASALocalRun/
322+
323+
# MSBuild Binary and Structured Log
324+
*.binlog
325+
326+
# NVidia Nsight GPU debugger configuration file
327+
*.nvuser
328+
329+
# MFractors (Xamarin productivity tool) working folder
330+
.mfractor/
212331

213-
# OpenCover
214-
OpenCover/*
332+
coverage.xml
333+
opencover.xml
334+
/.sonarqube

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ language: csharp
44
mono: none
55
dotnet: 2.1
66
before_script:
7-
- dotnet restore
7+
- export PATH="$PATH:$HOME/.dotnet/tools"
8+
- dotnet tool install --global dotnet-sonarscanner --version 4.6.0
89
script:
9-
- dotnet build --no-restore --no-incremental
10-
- dotnet test tests/Utility.CommandLine.Arguments.Tests
10+
- bash build/ci.sh

Utility.CommandLine.Arguments.sln

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,30 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Utility.CommandLine.Argumen
99
EndProject
1010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C1B0ADA1-91A1-4009-86EF-C619771367DC}"
1111
ProjectSection(SolutionItems) = preProject
12+
.gitignore = .gitignore
1213
.travis.yml = .travis.yml
1314
appveyor.yml = appveyor.yml
1415
CONTRIBUTING.md = CONTRIBUTING.md
1516
LICENSE = LICENSE
16-
tools\pack.sh = tools\pack.sh
1717
README.md = README.md
1818
EndProjectSection
1919
EndProject
2020
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example", "examples\Example\Example.csproj", "{57E43670-9A19-4235-8552-EAB69404B56C}"
2121
EndProject
22+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{94A8FBCD-26E6-4BF4-B4EB-EEA56BE1626B}"
23+
EndProject
24+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{370AF284-4DF8-4A9C-8A76-EF15D523F45D}"
25+
EndProject
26+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{B16DDE41-6A3F-489E-874C-BD0C9F0339CB}"
27+
EndProject
28+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{52A632BE-5095-4EA5-B024-59427FA4262B}"
29+
ProjectSection(SolutionItems) = preProject
30+
build\build.sh = build\build.sh
31+
build\ci.sh = build\ci.sh
32+
build\deploy.sh = build\deploy.sh
33+
build\test.sh = build\test.sh
34+
EndProjectSection
35+
EndProject
2236
Global
2337
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2438
Debug|Any CPU = Debug|Any CPU
@@ -41,6 +55,11 @@ Global
4155
GlobalSection(SolutionProperties) = preSolution
4256
HideSolutionNode = FALSE
4357
EndGlobalSection
58+
GlobalSection(NestedProjects) = preSolution
59+
{9E7684E0-A2E1-4F55-B492-12F4EDAD68C8} = {370AF284-4DF8-4A9C-8A76-EF15D523F45D}
60+
{2A63EB98-9E4F-4CC5-8390-4342B10E228D} = {B16DDE41-6A3F-489E-874C-BD0C9F0339CB}
61+
{57E43670-9A19-4235-8552-EAB69404B56C} = {94A8FBCD-26E6-4BF4-B4EB-EEA56BE1626B}
62+
EndGlobalSection
4463
GlobalSection(ExtensibilityGlobals) = postSolution
4564
SolutionGuid = {30778115-B18C-4585-866D-0D36417F35DD}
4665
EndGlobalSection

0 commit comments

Comments
 (0)