diff --git a/.gitignore b/.gitignore index 3e135fe00..421725667 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,5 @@ artifacts/ post-build* _ReSharper.* deploy-to-ec2* -TestResults/ \ No newline at end of file +TestResults/ +build/ \ No newline at end of file diff --git a/build.cmd b/build.cmd index f23e40f46..988f8c189 100644 --- a/build.cmd +++ b/build.cmd @@ -4,4 +4,6 @@ if "%config%" == "" ( set config=Debug ) -%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.proj /p:Configuration="%config%" /t:Test /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false \ No newline at end of file +%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.proj /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false + +pause \ No newline at end of file diff --git a/build.proj b/build.proj index f9708830a..258a16f96 100644 --- a/build.proj +++ b/build.proj @@ -22,7 +22,11 @@ - + + + + + \ No newline at end of file diff --git a/src/Pretzel/Properties/AssemblyInfo.cs b/src/Pretzel/Properties/AssemblyInfo.cs index e572c5823..d0c940961 100644 --- a/src/Pretzel/Properties/AssemblyInfo.cs +++ b/src/Pretzel/Properties/AssemblyInfo.cs @@ -1,36 +1,17 @@ -using System.Reflection; -using System.Runtime.CompilerServices; +using System.Reflection; using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. [assembly: AssemblyTitle("Pretzel")] [assembly: AssemblyDescription("A simple static site generator for Windows")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Code52")] [assembly: AssemblyProduct("Pretzel")] -[assembly: AssemblyCopyright("Copyright © 2012")] +[assembly: AssemblyCopyright("Copyright © Code52 2012")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("3c5a833b-daac-49ef-bba8-1000cd0e3c4f")] -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("0.1.0.0")] +[assembly: AssemblyFileVersion("0.1.0.0")] diff --git a/tools/chocolatey/pretzel.nuspec b/tools/chocolatey/pretzel.nuspec new file mode 100644 index 000000000..12a0fd8d6 --- /dev/null +++ b/tools/chocolatey/pretzel.nuspec @@ -0,0 +1,14 @@ + + + + pretzel + 0.1.0 + Pretzel + Code52 + Code52 + https://github.com/Code52/pretzel + false + A simple, pluggable site generation tool for .NET developers and Windows users + Jekyll Liquid Razor Markdown + + \ No newline at end of file diff --git a/tools/chocolatey/tools/chocolateyInstall.ps1 b/tools/chocolatey/tools/chocolateyInstall.ps1 new file mode 100644 index 000000000..4e59ef105 --- /dev/null +++ b/tools/chocolatey/tools/chocolateyInstall.ps1 @@ -0,0 +1,13 @@ +try { + $sysDrive = $env:SystemDrive + $pretzelPath = "$sysDrive\tools\pretzel" + + Install-ChocolateyZipPackage 'Pretzel' 'https://github.com/downloads/Code52/pretzel/Pretzel-0.1.0.zip' $pretzelPath + Install-ChocolateyPath $pretzelPath + + write-host 'pretzel has been installed.' + Write-ChocolateySuccess 'pretzel' +} catch { + Write-ChocolateyFailure 'pretzel' $($_.Exception.Message) + throw +} \ No newline at end of file