-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 31ef937
Showing
51 changed files
with
6,549 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
*.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 | ||
|
||
*.jpg binary | ||
*.png binary | ||
*.gif binary | ||
|
||
core.eol crlf | ||
|
||
*.cs diff=csharp | ||
|
||
*.csproj merge=union | ||
*.vbproj merge=union | ||
*.fsproj merge=union | ||
*.dbproj merge=union | ||
*.sln merge=union |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,222 @@ | ||
## Ignore Visual Studio temporary files, build results, and | ||
## files generated by popular Visual Studio add-ons. | ||
|
||
# User-specific files | ||
*.suo | ||
*.user | ||
*.userosscache | ||
*.sln.docstates | ||
|
||
# User-specific files (MonoDevelop/Xamarin Studio) | ||
*.userprefs | ||
|
||
# Build results | ||
[Dd]ebug/ | ||
[Dd]ebugPublic/ | ||
[Rr]elease/ | ||
[Rr]eleases/ | ||
x64/ | ||
x86/ | ||
build/ | ||
bld/ | ||
[Bb]in/ | ||
[Oo]bj/ | ||
artifacts/ | ||
|
||
# Visual Studio 2015 cache/options directory | ||
.vs/ | ||
# Uncomment if you have tasks that create the project's static files in wwwroot | ||
#wwwroot/ | ||
|
||
# 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 | ||
|
||
# DNX | ||
project.lock.json | ||
artifacts/ | ||
|
||
*_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 add-in | ||
.JustCode | ||
|
||
# TeamCity is a build add-in | ||
_TeamCity* | ||
|
||
# DotCover is a Code Coverage Tool | ||
*.dotCover | ||
|
||
# NCrunch | ||
_NCrunch_* | ||
.*crunch*.local.xml | ||
nCrunchTemp_* | ||
*.ncrunchsolution | ||
|
||
# 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/ | ||
|
||
# Visual Studio cache files | ||
# files ending in .cache can be ignored | ||
*.[Cc]ache | ||
# but keep track of directories ending in .cache | ||
!*.[Cc]ache/ | ||
|
||
# Others | ||
ClientBin/ | ||
[Ss]tyle[Cc]op.* | ||
~$* | ||
*~ | ||
*.dbmdl | ||
*.dbproj.schemaview | ||
*.pfx | ||
*.publishsettings | ||
node_modules/ | ||
orleans.codegen.cs | ||
|
||
# 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 | ||
|
||
# Visual Studio LightSwitch build output | ||
**/*.HTMLClient/GeneratedArtifacts | ||
**/*.DesktopClient/GeneratedArtifacts | ||
**/*.DesktopClient/ModelManifest.xml | ||
**/*.Server/GeneratedArtifacts | ||
**/*.Server/ModelManifest.xml | ||
_Pvt_Extensions | ||
|
||
# Project Rider | ||
*.iml | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.26124.0 | ||
MinimumVisualStudioVersion = 15.0.26124.0 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoMapper.Extensions.ExpressionMapping", "src\AutoMapper.Extensions.ExpressionMapping\AutoMapper.Extensions.ExpressionMapping.csproj", "{24DF305C-EE59-460A-BA97-4B7CD5505434}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoMapper.Extensions.ExpressionMapping.UnitTests", "tests\AutoMapper.Extensions.ExpressionMapping.UnitTests\AutoMapper.Extensions.ExpressionMapping.UnitTests.csproj", "{31D058FF-FD83-4DB3-9C32-1D3599687A8E}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{792DF9DF-A7ED-449E-B358-57953FC62B1D}" | ||
ProjectSection(SolutionItems) = preProject | ||
.gitattributes = .gitattributes | ||
.gitignore = .gitignore | ||
appveyor.yml = appveyor.yml | ||
Build.ps1 = Build.ps1 | ||
Directory.Build.props = Directory.Build.props | ||
LICENSE = LICENSE | ||
README.md = README.md | ||
EndProjectSection | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoMapper", "..\AutoMapper\src\AutoMapper\AutoMapper.csproj", "{DB328395-6418-42A7-A5C2-FFFEF9BDBE02}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|x64 = Debug|x64 | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|x64 = Release|x64 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{24DF305C-EE59-460A-BA97-4B7CD5505434}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{24DF305C-EE59-460A-BA97-4B7CD5505434}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{24DF305C-EE59-460A-BA97-4B7CD5505434}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{24DF305C-EE59-460A-BA97-4B7CD5505434}.Debug|x64.Build.0 = Debug|Any CPU | ||
{24DF305C-EE59-460A-BA97-4B7CD5505434}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{24DF305C-EE59-460A-BA97-4B7CD5505434}.Debug|x86.Build.0 = Debug|Any CPU | ||
{24DF305C-EE59-460A-BA97-4B7CD5505434}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{24DF305C-EE59-460A-BA97-4B7CD5505434}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{24DF305C-EE59-460A-BA97-4B7CD5505434}.Release|x64.ActiveCfg = Release|Any CPU | ||
{24DF305C-EE59-460A-BA97-4B7CD5505434}.Release|x64.Build.0 = Release|Any CPU | ||
{24DF305C-EE59-460A-BA97-4B7CD5505434}.Release|x86.ActiveCfg = Release|Any CPU | ||
{24DF305C-EE59-460A-BA97-4B7CD5505434}.Release|x86.Build.0 = Release|Any CPU | ||
{31D058FF-FD83-4DB3-9C32-1D3599687A8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{31D058FF-FD83-4DB3-9C32-1D3599687A8E}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{31D058FF-FD83-4DB3-9C32-1D3599687A8E}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{31D058FF-FD83-4DB3-9C32-1D3599687A8E}.Debug|x64.Build.0 = Debug|Any CPU | ||
{31D058FF-FD83-4DB3-9C32-1D3599687A8E}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{31D058FF-FD83-4DB3-9C32-1D3599687A8E}.Debug|x86.Build.0 = Debug|Any CPU | ||
{31D058FF-FD83-4DB3-9C32-1D3599687A8E}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{31D058FF-FD83-4DB3-9C32-1D3599687A8E}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{31D058FF-FD83-4DB3-9C32-1D3599687A8E}.Release|x64.ActiveCfg = Release|Any CPU | ||
{31D058FF-FD83-4DB3-9C32-1D3599687A8E}.Release|x64.Build.0 = Release|Any CPU | ||
{31D058FF-FD83-4DB3-9C32-1D3599687A8E}.Release|x86.ActiveCfg = Release|Any CPU | ||
{31D058FF-FD83-4DB3-9C32-1D3599687A8E}.Release|x86.Build.0 = Release|Any CPU | ||
{DB328395-6418-42A7-A5C2-FFFEF9BDBE02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{DB328395-6418-42A7-A5C2-FFFEF9BDBE02}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{DB328395-6418-42A7-A5C2-FFFEF9BDBE02}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{DB328395-6418-42A7-A5C2-FFFEF9BDBE02}.Debug|x64.Build.0 = Debug|Any CPU | ||
{DB328395-6418-42A7-A5C2-FFFEF9BDBE02}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{DB328395-6418-42A7-A5C2-FFFEF9BDBE02}.Debug|x86.Build.0 = Debug|Any CPU | ||
{DB328395-6418-42A7-A5C2-FFFEF9BDBE02}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{DB328395-6418-42A7-A5C2-FFFEF9BDBE02}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{DB328395-6418-42A7-A5C2-FFFEF9BDBE02}.Release|x64.ActiveCfg = Release|Any CPU | ||
{DB328395-6418-42A7-A5C2-FFFEF9BDBE02}.Release|x64.Build.0 = Release|Any CPU | ||
{DB328395-6418-42A7-A5C2-FFFEF9BDBE02}.Release|x86.ActiveCfg = Release|Any CPU | ||
{DB328395-6418-42A7-A5C2-FFFEF9BDBE02}.Release|x86.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {7464B224-B1DB-4F63-89AE-34DDBF794E15} | ||
EndGlobalSection | ||
EndGlobal |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Taken from psake https://github.com/psake/psake | ||
|
||
<# | ||
.SYNOPSIS | ||
This is a helper function that runs a scriptblock and checks the PS variable $lastexitcode | ||
to see if an error occcured. If an error is detected then an exception is thrown. | ||
This function allows you to run command-line programs without having to | ||
explicitly check the $lastexitcode variable. | ||
.EXAMPLE | ||
exec { svn info $repository_trunk } "Error executing SVN. Please verify SVN command-line client is installed" | ||
#> | ||
function Exec | ||
{ | ||
[CmdletBinding()] | ||
param( | ||
[Parameter(Position=0,Mandatory=1)][scriptblock]$cmd, | ||
[Parameter(Position=1,Mandatory=0)][string]$errorMessage = ($msgs.error_bad_command -f $cmd) | ||
) | ||
& $cmd | ||
if ($lastexitcode -ne 0) { | ||
throw ("Exec: " + $errorMessage) | ||
} | ||
} | ||
|
||
if(Test-Path .\artifacts) { Remove-Item .\artifacts -Force -Recurse } | ||
|
||
$branch = @{ $true = $env:APPVEYOR_REPO_BRANCH; $false = $(git symbolic-ref --short -q HEAD) }[$env:APPVEYOR_REPO_BRANCH -ne $NULL]; | ||
$revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "local" }[$env:APPVEYOR_BUILD_NUMBER -ne $NULL]; | ||
$suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne "local"] | ||
$commitHash = $(git rev-parse --short HEAD) | ||
$buildSuffix = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""] | ||
$versionSuffix = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[$suffix -ne ""] | ||
|
||
echo "build: Package version suffix is $suffix" | ||
echo "build: Build version suffix is $buildSuffix" | ||
|
||
exec { & dotnet build -c Release --version-suffix=$buildSuffix } | ||
|
||
Push-Location -Path .\tests\AutoMapper.Extensions.ExpressionMapping.UnitTests | ||
|
||
try { | ||
exec { & dotnet test -c Release --no-build --no-restore } | ||
} finally { | ||
Pop-Location | ||
} | ||
|
||
Pop-Location | ||
|
||
exec { & dotnet pack .\src\AutoMapper.Extensions.ExpressionMapping\AutoMapper.Extensions.ExpressionMapping.csproj -c Release -o ..\..\artifacts --include-symbols --no-build --no-restore $versionSuffix } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<Authors>Jimmy Bogard</Authors> | ||
<LangVersion>latest</LangVersion> | ||
<VersionPrefix>5.0.1</VersionPrefix> | ||
<WarningsAsErrors>true</WarningsAsErrors> | ||
<NoWarn>$(NoWarn);1701;1702;1591</NoWarn> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Copyright (c) 2010 Jimmy Bogard | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
AutoMapper extentions for mapping expressions (OData) |
Oops, something went wrong.