Skip to content

Instantly share code, notes, and snippets.

@JamesNK
Created February 18, 2013 22:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JamesNK/4981537 to your computer and use it in GitHub Desktop.
Save JamesNK/4981537 to your computer and use it in GitHub Desktop.
Clear working directory, get latest version of Json.NET from GitHub, build full version of Json.NET by calling runbuild.cmd with arguments.
set OLDDIR=%CD%
rmdir /s /q .\Working
mkdir .\Working
chdir Working
call git clone git://github.com/JamesNK/Newtonsoft.Json.git
rmdir Newtonsoft.Json\.git /s /q
chdir Newtonsoft.Json\Build
call runbuild.cmd -properties @{"signAssemblies"=$true; "buildDocumentation"=$true; "buildNuGet"=$true; "treatWarningsAsErrors"=$true}
chdir /d %OLDDIR%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment