Skip to content

Commit

Permalink
Adding .git* files and a dummy test
Browse files Browse the repository at this point in the history
- Adding .gitignore and .gitattribute files (from Azure-Iot-Hub-Common
repo)
- Adding a dummy test to test the build
  • Loading branch information
varunpuranik committed Mar 21, 2017
1 parent e378b98 commit 87a7161
Show file tree
Hide file tree
Showing 6 changed files with 463 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Auto detect text files and perform LF normalization
* text eol=crlf

# Binary files to ignore and not modify
*.pfx binary
*.ico binary
*.svg binary
*.jpg binary
*.png binary
*.exe binary
*.dll binary
*.pdb binary
*.eot binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
290 changes: 290 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,290 @@
###
OneBranch Specific
###

# Build generated files in src
/src/**/objd/**/*
/src/**/obj/**/*
/src/**/bin/**/*
/src/**/gen/**/*
/src/**/*.nuspec
/src/**/StyleCop.Cache

# QuickBuild and Build Exe
/src/**/build*.dbb
/src/**/build*.evt
/src/**/build*.log
/src/**/build*.trc
/src/**/build*.trc.txt
/src/**/__tracer/
/src/**/QLogs/
QuickBuild.log

# MSBuild's log file
msbuild.log

# VSMSBuild generated files in CoreXT
*.projhash*
*.slnhash*

# Build.exe
*.err
*.wrn
*.log
*.prf
*.trc
buildd.dbb
build.dbb
buildd.evt
build.evt

# CloudBuild
BuildSessionInfo.json
QBuildResultStats.txt
QLogs

###
Repository Bloat Risks
###
*.exe
*.dll
*.lib
*.pdb
*.wim
*.zip
*.gz

###
Secret Disclosure Risks
From: AzSec@microsoft.com
###

# *.pfx
*.[Pp][Ff][Xx]

# *.key
*.[Kk][Ee][Yy]

# *.sst
*.[Ss][Ss][Tt]

# *.p12
*.[Pp]12

# *.pvk
*.[Pp][Vv][Kk]

# wdsconfig.xml
[Ww][Dd][Ss][Cc][Oo][Nn][Ff][Ii][Gg].[Xx][Mm][Ll]

# wdsdeploy.xml
[Ww][Dd][Ss][Dd][Ee][Pp][Ll][Oo][Yy].[Xx][Mm][Ll]

# accounts.xml
[Aa][Cc][Cc][Oo][Uu][Nn][Tt][Ss].[Xx][Mm][Ll]

# deploymentsecrets.xml
[Dd][Ee][Pp][Ll][Oo][Yy][Mm][Ee][Nn][Tt][Ss][Ee][Cc][Rr][Ee][Tt][Ss].[Xx][Mm][Ll]
[Ss][Yy][Ss][Pp][Rr][Ee][Pp].[Ii][Nn][Ff]

###
From: https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
Commit: 5130d9a5060fcaed8f7458a8717b5573f5562774
###

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
_logs/
[Bb]in/
[Oo]bj/

# Roslyn cache directories
*.ide/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
*.trx

#NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding addin-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
_NCrunch_*
.*crunch*.local.xml

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config

# Windows Azure Build Output
csx/
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
*.[Cc]ache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
bower_components/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/

# Node.js Tools for Visual Studio
.ntvs_analysis.dat

# Visual Studio 6 build log
*.plg

# Visual Studio 6 workspace options file
*.opt


22 changes: 22 additions & 0 deletions Test/DummyTest/DummyTest.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DummyTest", "DummyTest\DummyTest.csproj", "{9432D0EC-9D88-467A-9CF6-0B2087B998EF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9432D0EC-9D88-467A-9CF6-0B2087B998EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9432D0EC-9D88-467A-9CF6-0B2087B998EF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9432D0EC-9D88-467A-9CF6-0B2087B998EF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9432D0EC-9D88-467A-9CF6-0B2087B998EF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Loading

0 comments on commit 87a7161

Please sign in to comment.