Skip to content

Commit

Permalink
added .gitattributes file and fixing line endings
Browse files Browse the repository at this point in the history
I did this through GitHub for Windows, so if things break, blame them.
  • Loading branch information
half-ogre committed Jun 19, 2012
1 parent d650b42 commit 7962e0a
Show file tree
Hide file tree
Showing 14 changed files with 1,637 additions and 1,615 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
74 changes: 37 additions & 37 deletions NuGetGallery.sln
@@ -1,37 +1,37 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3D9D438F-93F6-4CDF-AABD-9990063BAD67}"
ProjectSection(SolutionItems) = preProject
README.markdown = README.markdown
Scripts\NuGetGallery.msbuild = Scripts\NuGetGallery.msbuild
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{96E4AFF8-D3A1-4102-ADCF-05F186F916A9}"
ProjectSection(SolutionItems) = preProject
.nuget\packages.config = .nuget\packages.config
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Website", "Website\Website.csproj", "{1DACF781-5CD0-4123-8BAC-CD385D864BE5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Facts", "Facts\Facts.csproj", "{FDC76BEF-3360-45AC-A13E-AE8F14D343D5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1DACF781-5CD0-4123-8BAC-CD385D864BE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1DACF781-5CD0-4123-8BAC-CD385D864BE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1DACF781-5CD0-4123-8BAC-CD385D864BE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1DACF781-5CD0-4123-8BAC-CD385D864BE5}.Release|Any CPU.Build.0 = Release|Any CPU
{FDC76BEF-3360-45AC-A13E-AE8F14D343D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FDC76BEF-3360-45AC-A13E-AE8F14D343D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FDC76BEF-3360-45AC-A13E-AE8F14D343D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FDC76BEF-3360-45AC-A13E-AE8F14D343D5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3D9D438F-93F6-4CDF-AABD-9990063BAD67}"
ProjectSection(SolutionItems) = preProject
README.markdown = README.markdown
Scripts\NuGetGallery.msbuild = Scripts\NuGetGallery.msbuild
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{96E4AFF8-D3A1-4102-ADCF-05F186F916A9}"
ProjectSection(SolutionItems) = preProject
.nuget\packages.config = .nuget\packages.config
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Website", "Website\Website.csproj", "{1DACF781-5CD0-4123-8BAC-CD385D864BE5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Facts", "Facts\Facts.csproj", "{FDC76BEF-3360-45AC-A13E-AE8F14D343D5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1DACF781-5CD0-4123-8BAC-CD385D864BE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1DACF781-5CD0-4123-8BAC-CD385D864BE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1DACF781-5CD0-4123-8BAC-CD385D864BE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1DACF781-5CD0-4123-8BAC-CD385D864BE5}.Release|Any CPU.Build.0 = Release|Any CPU
{FDC76BEF-3360-45AC-A13E-AE8F14D343D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FDC76BEF-3360-45AC-A13E-AE8F14D343D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FDC76BEF-3360-45AC-A13E-AE8F14D343D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FDC76BEF-3360-45AC-A13E-AE8F14D343D5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
56 changes: 28 additions & 28 deletions Scripts/Build-Package-Deploy.ps1
@@ -1,28 +1,28 @@
$ScriptRoot = (Split-Path -parent $MyInvocation.MyCommand.Definition)
. $ScriptRoot\_Common.ps1

#Do Work Brah
& "$ScriptRoot\Build.ps1"
if($LastExitCode -ne 0) {
print-error("=================================================")
print-error(" Error building project. ")
print-error("=================================================")
} else {
& "$ScriptRoot\Package.ps1"
if($LastExitCode -ne 0) {
print-error("=================================================")
print-error(" Error creating the Azure Packages. ")
print-error("=================================================")
} else {
& "$ScriptRoot\Deploy.ps1"
if($LastExitCode -ne 0) {
print-error("=================================================")
print-error(" Error deploying the Azure Packages. ")
print-error("=================================================")
} else {
print-success("=================================================")
print-success(" All Done, Son. ")
print-success("=================================================")
}
}
}
$ScriptRoot = (Split-Path -parent $MyInvocation.MyCommand.Definition)
. $ScriptRoot\_Common.ps1

#Do Work Brah
& "$ScriptRoot\Build.ps1"
if($LastExitCode -ne 0) {
print-error("=================================================")
print-error(" Error building project. ")
print-error("=================================================")
} else {
& "$ScriptRoot\Package.ps1"
if($LastExitCode -ne 0) {
print-error("=================================================")
print-error(" Error creating the Azure Packages. ")
print-error("=================================================")
} else {
& "$ScriptRoot\Deploy.ps1"
if($LastExitCode -ne 0) {
print-error("=================================================")
print-error(" Error deploying the Azure Packages. ")
print-error("=================================================")
} else {
print-success("=================================================")
print-success(" All Done, Son. ")
print-success("=================================================")
}
}
}
42 changes: 21 additions & 21 deletions Scripts/Build-Package.ps1
@@ -1,21 +1,21 @@
$ScriptRoot = (Split-Path -parent $MyInvocation.MyCommand.Definition)
. $ScriptRoot\_Common.ps1

#Do Work Brah
& "$ScriptRoot\Build.ps1"
if($LastExitCode -ne 0) {
print-error("=================================================")
print-error(" Error building project. ")
print-error("=================================================")
} else {
& "$ScriptRoot\Package.ps1"
if($LastExitCode -ne 0) {
print-error("=================================================")
print-error(" Error creating the Azure Packages. ")
print-error("=================================================")
} else {
print-success("=================================================")
print-success(" All Done, Son. ")
print-success("=================================================")
}
}
$ScriptRoot = (Split-Path -parent $MyInvocation.MyCommand.Definition)
. $ScriptRoot\_Common.ps1

#Do Work Brah
& "$ScriptRoot\Build.ps1"
if($LastExitCode -ne 0) {
print-error("=================================================")
print-error(" Error building project. ")
print-error("=================================================")
} else {
& "$ScriptRoot\Package.ps1"
if($LastExitCode -ne 0) {
print-error("=================================================")
print-error(" Error creating the Azure Packages. ")
print-error("=================================================")
} else {
print-success("=================================================")
print-success(" All Done, Son. ")
print-success("=================================================")
}
}
14 changes: 7 additions & 7 deletions Scripts/Build.ps1
@@ -1,7 +1,7 @@
param(
$buildFile = (join-path (Split-Path -parent $MyInvocation.MyCommand.Definition) "NuGetGallery.msbuild"),
$buildParams = "/p:Configuration=Release",
$buildTarget = "/t:CIBuild"
)

& "$(get-content env:windir)\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" $buildFile $buildParams $buildTarget
param(
$buildFile = (join-path (Split-Path -parent $MyInvocation.MyCommand.Definition) "NuGetGallery.msbuild"),
$buildParams = "/p:Configuration=Release",
$buildTarget = "/t:CIBuild"
)

& "$(get-content env:windir)\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" $buildFile $buildParams $buildTarget

0 comments on commit 7962e0a

Please sign in to comment.