-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added solution items, uploaded nuget package
- Loading branch information
Shane Ray
committed
Apr 13, 2015
1 parent
05a7667
commit 80e964e
Showing
6 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
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
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,45 @@ | ||
@echo off | ||
|
||
set MSBUILDDIR=C:\Program Files (x86)\MSBuild\12.0\bin\ | ||
IF EXIST "%MSBUILDDIR%msbuild.exe" goto RunIt | ||
|
||
set MSBUILDDIR=C:\Program Files\MSBuild\12.0\bin\ | ||
IF EXIST %MSBUILDDIR%msbuild.exe goto RunIt | ||
|
||
:: find msbuild and compile sln in root | ||
reg.exe query "HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0" /v MSBuildToolsPath > nul 2>&1 | ||
if ERRORLEVEL 1 goto MissingMSBuildRegistry | ||
|
||
for /f "skip=2 tokens=2,*" %%A in ('reg.exe query "HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0" /v MSBuildToolsPath') do SET MSBUILDDIR=%%B | ||
|
||
IF NOT EXIST %MSBUILDDIR%nul goto MissingMSBuildToolsPath | ||
IF NOT EXIST %MSBUILDDIR%msbuild.exe goto MissingMSBuildExe | ||
|
||
:RunIt | ||
|
||
echo %MSBUILDDIR% | ||
|
||
:: restore packages for all sln files | ||
for /f %%l in ('dir /b *.sln') do ( | ||
"%CD%/build/nuget.exe" restore %%l | ||
) | ||
|
||
:: build all sln files in the root folder | ||
for /f %%l in ('dir /b *.sln') do ( | ||
"%MSBUILDDIR%msbuild.exe" %%l /m /p:Configuration=Release | ||
) | ||
|
||
goto:eof | ||
|
||
|
||
::ERRORS | ||
::--------------------- | ||
:MissingMSBuildRegistry | ||
echo Cannot obtain path to MSBuild tools from registry | ||
goto:eof | ||
:MissingMSBuildToolsPath | ||
echo The MSBuild tools path from the registry '%MSBUILDDIR%' does not exist | ||
goto:eof | ||
:MissingMSBuildExe | ||
echo The MSBuild executable could not be found at '%MSBUILDDIR%' | ||
goto:eof |
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,16 @@ | ||
:: Jump up a directory | ||
cd .. | ||
|
||
:: call build cmd located in root | ||
call build.cmd | ||
|
||
:: Jump back to build folder | ||
cd build | ||
|
||
:: remove all nupkg files | ||
erase *.nupkg | ||
|
||
:: pack everything in build folder | ||
for /f %%l in ('dir /b *.nuspec') do ( | ||
nuget.exe pack %%l | ||
) |
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,20 @@ | ||
<?xml version="1.0"?> | ||
<package > | ||
<metadata> | ||
<id>ShaneSpace.ProjectedDynamicLinq</id> | ||
<version>1.0.0</version> | ||
<title>ShaneSpace.ProjectedDynamicLinq</title> | ||
<description>This is a modified copy of the Microsoft assembly for the .Net 4.0 Dynamic language functionality to work with Automapper and projections.</description> | ||
<authors>Shane Ray</authors> | ||
<owners>Shane Ray</owners> | ||
<projectUrl>https://github.com/shaneray/ShaneSpace.ProjectedDynamicLinq</projectUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<copyright>Copyright 2015 Shane Ray</copyright> | ||
<dependencies> | ||
<dependency id="AutoMapper" version="3.3.1" /> | ||
</dependencies> | ||
</metadata> | ||
<files> | ||
<file src="..\src\ShaneSpace.ProjectedDynamicLinq\bin\Release\ShaneSpace.ProjectedDynamicLinq.dll" target="lib\net45" /> | ||
</files> | ||
</package> |
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