Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup some infrastructure for the repository. #60

Merged
merged 7 commits into from
Jun 1, 2019
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
369 changes: 367 additions & 2 deletions .editorconfig

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
###############################################################################
# Set default behavior to:
# treat as text and
# normalize to Unix-style line endings
###############################################################################
* text eol=lf

###############################################################################
# Set explicit file behavior to:
# treat as text and
# normalize to Unix-style line endings
###############################################################################
*.cmd text eol=lf
*.config text eol=lf
*.cs text eol=lf
*.csproj text eol=lf
*.hlsl text eol=lf
*.json text eol=lf
*.md text eol=lf
*.props text eol=lf
*.ps1 text eol=lf
*.resx text eol=lf
*.sh text eol=lf
*.sln text eol=lf
*.targets text eol=lf
*.yml text eol=lf

###############################################################################
# Set explicit file behavior to:
# treat as text and
# normalize to Windows-style line endings
###############################################################################
*.sln text eol=crlf

###############################################################################
# Set explicit file behavior to:
# treat as binary
###############################################################################
*.snk binary
200 changes: 15 additions & 185 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,186 +1,16 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates
###############################################################################
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main .gitignore file has a lot more than necessary. I can keep it if desired, but I personally find the smaller subset easier to reason about.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(It also helps expose places where things aren't ending up where expected as almost all excluded files should end up under artifacts).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree ... I just let GitHub decide so this is better imo too.

# Build Artifacts
###############################################################################
artifacts/
*.binlog

###############################################################################
# Default Artifacts
###############################################################################
bin/
obj/

###############################################################################
# Visual Studio
###############################################################################
.vs/

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

# Roslyn cache directories
*.ide/

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

#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/
# If using the old MSBuild-Integrated Package Restore, uncomment this:
#!**/packages/repositories.config

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

# Windows Store app package directory
AppPackages/

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

# 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/
*.dll
*.exe

This file was deleted.

22 changes: 0 additions & 22 deletions ClangSharp.Test/ClangSharp.Test.csproj

This file was deleted.

71 changes: 46 additions & 25 deletions ClangSharp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,67 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28803.202
MinimumVisualStudioVersion = 15.0.26124.0
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClangSharp", "ClangSharp\ClangSharp.csproj", "{0FD900AC-F002-4E0F-8E5A-B3465EF6ABA6}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{14B849D1-0F45-4449-B3F6-A1A920B3C442}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitignore = .gitignore
Directory.Build.props = Directory.Build.props
Directory.Build.targets = Directory.Build.targets
LICENSE.txt = LICENSE.txt
README.md = README.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClangSharp.Test", "ClangSharp.Test\ClangSharp.Test.csproj", "{EAE33CD4-CC2B-4A2E-B3CE-6EBF6C87DCF2}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sources", "sources", "{732BA761-B58E-4C34-9C96-097382A55A7A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClangSharp.PInvokeGenerator", "ClangSharp.PInvokeGenerator\ClangSharp.PInvokeGenerator.csproj", "{4E3FE01B-89FA-4E5B-856C-34A5E29110A9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClangSharp", "sources\ClangSharp\ClangSharp.csproj", "{A9D62BAC-5F38-4A37-8911-1F5952955C78}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClangSharp.PInvokeGenerator.Test", "ClangSharp.PInvokeGenerator.Test\ClangSharp.PInvokeGenerator.Test.csproj", "{0F4159AF-BC55-4C98-A248-67B9B4D229F1}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClangSharp.PInvokeGenerator", "sources\ClangSharp.PInvokeGenerator\ClangSharp.PInvokeGenerator.csproj", "{6B0EF5A7-5CD4-42E1-8B5A-98B60A570198}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClangSharpPInvokeGenerator", "ClangSharpPInvokeGenerator\ClangSharpPInvokeGenerator.csproj", "{D1FDD6AE-6F18-4991-8CE4-B8C930C177FA}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClangSharpPInvokeGenerator", "sources\ClangSharpPInvokeGenerator\ClangSharpPInvokeGenerator.csproj", "{784B45C6-7A20-4F1C-A258-D81CDD9562A6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{394E17BB-B1EA-4A98-98C8-78ACD44182FC}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClangSharp.UnitTests", "tests\ClangSharp.UnitTests\ClangSharp.UnitTests.csproj", "{4D0B43E1-921A-469F-A847-4473B2AF5172}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClangSharp.PInvokeGenerator.UnitTests", "tests\ClangSharp.PInvokeGenerator.UnitTests\ClangSharp.PInvokeGenerator.UnitTests.csproj", "{9D29BA0E-79C6-484E-B630-86A9510F1B74}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0FD900AC-F002-4E0F-8E5A-B3465EF6ABA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0FD900AC-F002-4E0F-8E5A-B3465EF6ABA6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0FD900AC-F002-4E0F-8E5A-B3465EF6ABA6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0FD900AC-F002-4E0F-8E5A-B3465EF6ABA6}.Release|Any CPU.Build.0 = Release|Any CPU
{EAE33CD4-CC2B-4A2E-B3CE-6EBF6C87DCF2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EAE33CD4-CC2B-4A2E-B3CE-6EBF6C87DCF2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EAE33CD4-CC2B-4A2E-B3CE-6EBF6C87DCF2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EAE33CD4-CC2B-4A2E-B3CE-6EBF6C87DCF2}.Release|Any CPU.Build.0 = Release|Any CPU
{4E3FE01B-89FA-4E5B-856C-34A5E29110A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4E3FE01B-89FA-4E5B-856C-34A5E29110A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4E3FE01B-89FA-4E5B-856C-34A5E29110A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4E3FE01B-89FA-4E5B-856C-34A5E29110A9}.Release|Any CPU.Build.0 = Release|Any CPU
{0F4159AF-BC55-4C98-A248-67B9B4D229F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0F4159AF-BC55-4C98-A248-67B9B4D229F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0F4159AF-BC55-4C98-A248-67B9B4D229F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0F4159AF-BC55-4C98-A248-67B9B4D229F1}.Release|Any CPU.Build.0 = Release|Any CPU
{D1FDD6AE-6F18-4991-8CE4-B8C930C177FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D1FDD6AE-6F18-4991-8CE4-B8C930C177FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D1FDD6AE-6F18-4991-8CE4-B8C930C177FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D1FDD6AE-6F18-4991-8CE4-B8C930C177FA}.Release|Any CPU.Build.0 = Release|Any CPU
{A9D62BAC-5F38-4A37-8911-1F5952955C78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A9D62BAC-5F38-4A37-8911-1F5952955C78}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A9D62BAC-5F38-4A37-8911-1F5952955C78}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A9D62BAC-5F38-4A37-8911-1F5952955C78}.Release|Any CPU.Build.0 = Release|Any CPU
{6B0EF5A7-5CD4-42E1-8B5A-98B60A570198}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6B0EF5A7-5CD4-42E1-8B5A-98B60A570198}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6B0EF5A7-5CD4-42E1-8B5A-98B60A570198}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6B0EF5A7-5CD4-42E1-8B5A-98B60A570198}.Release|Any CPU.Build.0 = Release|Any CPU
{784B45C6-7A20-4F1C-A258-D81CDD9562A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{784B45C6-7A20-4F1C-A258-D81CDD9562A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{784B45C6-7A20-4F1C-A258-D81CDD9562A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{784B45C6-7A20-4F1C-A258-D81CDD9562A6}.Release|Any CPU.Build.0 = Release|Any CPU
{4D0B43E1-921A-469F-A847-4473B2AF5172}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4D0B43E1-921A-469F-A847-4473B2AF5172}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4D0B43E1-921A-469F-A847-4473B2AF5172}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4D0B43E1-921A-469F-A847-4473B2AF5172}.Release|Any CPU.Build.0 = Release|Any CPU
{9D29BA0E-79C6-484E-B630-86A9510F1B74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9D29BA0E-79C6-484E-B630-86A9510F1B74}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9D29BA0E-79C6-484E-B630-86A9510F1B74}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9D29BA0E-79C6-484E-B630-86A9510F1B74}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{A9D62BAC-5F38-4A37-8911-1F5952955C78} = {732BA761-B58E-4C34-9C96-097382A55A7A}
{6B0EF5A7-5CD4-42E1-8B5A-98B60A570198} = {732BA761-B58E-4C34-9C96-097382A55A7A}
{784B45C6-7A20-4F1C-A258-D81CDD9562A6} = {732BA761-B58E-4C34-9C96-097382A55A7A}
{4D0B43E1-921A-469F-A847-4473B2AF5172} = {394E17BB-B1EA-4A98-98C8-78ACD44182FC}
{9D29BA0E-79C6-484E-B630-86A9510F1B74} = {394E17BB-B1EA-4A98-98C8-78ACD44182FC}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A9D18E0B-5409-457D-B5F3-0E217136BB01}
EndGlobalSection
Expand Down
Loading