diff --git a/.gitignore b/.gitignore index a9a634616..8ecf6b3c4 100644 --- a/.gitignore +++ b/.gitignore @@ -138,7 +138,6 @@ Desktop.ini *.egg *.egg-info dist -build eggs parts bin @@ -163,3 +162,5 @@ pip-log.txt # Mac crap .DS_Store +build/_BuildOutput/ +build/*.nupkg \ No newline at end of file diff --git a/build/Build.ImageProcessor.Web.proj b/build/Build.ImageProcessor.Web.proj new file mode 100644 index 000000000..ab35a64e4 --- /dev/null +++ b/build/Build.ImageProcessor.Web.proj @@ -0,0 +1,60 @@ + + + .\ + + + + + + + + Release + _BuildOutput\ + False + ..\..\..\build\$(BuildFolder) + $(MSBuildProjectDirectory)\$(BuildFolder) + $(BuildFolder)bin\ + $(BuildFolderRelativeToProjects)bin\ + $(BuildFolderAbsolutePath)ImageProcessor.Web\lib\net40 + $(BuildFolderAbsolutePath)ImageProcessor.Web\lib\net45 + ..\src\ImageProcessor.Web\ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/Build.ImageProcessor.proj b/build/Build.ImageProcessor.proj new file mode 100644 index 000000000..930275286 --- /dev/null +++ b/build/Build.ImageProcessor.proj @@ -0,0 +1,54 @@ + + + .\ + + + + + + + + Release + _BuildOutput\ + False + $(MSBuildProjectDirectory)\$(BuildFolder) + $(BuildFolderAbsolutePath)ImageProcessor\lib\ + ..\src\ImageProcessor\ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/Build.bat b/build/Build.bat new file mode 100644 index 000000000..72bed329d --- /dev/null +++ b/build/Build.bat @@ -0,0 +1,29 @@ +@ECHO OFF +SET version=1.8.8.0 +SET webversion=3.2.2.0 +SET webconfigversion=1.0.0.0 + +ECHO Building ImageProcessor %version%, ImageProcess.Web %webversion% and ImageProcess.Web.Config %webconfigversion% + +ECHO Installing the Microsoft.Bcl.Build package before anything else, otherwise you'd have to run build.cmd twice +SET nuGetFolder=%CD%\..\src\packages\ +..\src\.nuget\NuGet.exe install ..\src\ImageProcessor.Web\NET45\packages.config -OutputDirectory %nuGetFolder% + +ECHO Removing _BuildOutput directory so everything is nice and clean +RD _BuildOutput /q /s + +%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe "Build.ImageProcessor.proj" /p:BUILD_RELEASE=%version% /p:BUILD_COMMENT=%comment% +%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe "Build.ImageProcessor.Web.proj" /p:BUILD_RELEASE=%webversion% /p:BUILD_COMMENT=%comment% + +ECHO Packing the NuGet release files +..\src\.nuget\NuGet.exe pack NuSpecs\ImageProcessor.nuspec -Version %version% +..\src\.nuget\NuGet.exe pack NuSpecs\ImageProcessor.Web.nuspec -Version %webversion% +..\src\.nuget\NuGet.exe pack NuSpecs\ImageProcessor.Web.Config.nuspec -Version %webconfigversion% + + +IF ERRORLEVEL 1 GOTO :showerror + +GOTO :EOF + +:showerror +PAUSE diff --git a/build/MSBuildCommunityTasks/ICSharpCode.SharpZipLib.dll.REMOVED.git-id b/build/MSBuildCommunityTasks/ICSharpCode.SharpZipLib.dll.REMOVED.git-id new file mode 100644 index 000000000..0dc5124b5 --- /dev/null +++ b/build/MSBuildCommunityTasks/ICSharpCode.SharpZipLib.dll.REMOVED.git-id @@ -0,0 +1 @@ +77bafe8ba867a1618b8735200289f6fad68b825e \ No newline at end of file diff --git a/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.Targets b/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.Targets new file mode 100644 index 000000000..875d7c4c8 --- /dev/null +++ b/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.Targets @@ -0,0 +1,147 @@ + + + + + + $(MSBuildExtensionsPath)\MSBuildCommunityTasks + $(MSBuildCommunityTasksPath)\MSBuild.Community.Tasks.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.chm.REMOVED.git-id b/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.chm.REMOVED.git-id new file mode 100644 index 000000000..0863f2d0f --- /dev/null +++ b/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.chm.REMOVED.git-id @@ -0,0 +1 @@ +e9cfb77efd964e4fb6659c0c2cc9bc934b7edb17 \ No newline at end of file diff --git a/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.dll.REMOVED.git-id b/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.dll.REMOVED.git-id new file mode 100644 index 000000000..0c5894f4d --- /dev/null +++ b/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.dll.REMOVED.git-id @@ -0,0 +1 @@ +3d1dbd357f5e4ae47bf017d4227811bd052b5347 \ No newline at end of file diff --git a/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.xml.REMOVED.git-id b/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.xml.REMOVED.git-id new file mode 100644 index 000000000..7bdd152c5 --- /dev/null +++ b/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.xml.REMOVED.git-id @@ -0,0 +1 @@ +0ddc819937fec260f50b99350f7643feced88342 \ No newline at end of file diff --git a/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.xsd.REMOVED.git-id b/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.xsd.REMOVED.git-id new file mode 100644 index 000000000..c226e06db --- /dev/null +++ b/build/MSBuildCommunityTasks/MSBuild.Community.Tasks.xsd.REMOVED.git-id @@ -0,0 +1 @@ +14f9e4c08f357d1b2f185dbe24df292ce74ef064 \ No newline at end of file diff --git a/build/MSBuildCommunityTasks/Sample.proj b/build/MSBuildCommunityTasks/Sample.proj new file mode 100644 index 000000000..3b52ad68c --- /dev/null +++ b/build/MSBuildCommunityTasks/Sample.proj @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + list = new List(); + list.Add("Happy"); + list.Add("New"); + list.Add("Year"); + Console.WriteLine("Hello MSBuild Community Scripting World."); + foreach(string s in list) + { + Console.WriteLine(s); + } + } + ]]> + + + + +