Skip to content

Instantly share code, notes, and snippets.

Avatar

James Donaldson jdonaldson10

View GitHub Profile
@jdonaldson10
jdonaldson10 / jenkins_build.bat
Created Jan 15, 2015
Bat file to perform all our build needs
View jenkins_build.bat
REM Configuration
set NUNIT_RESULT="nunit-result.xml"
set OPENCOVER_RESULT="opencover-result.xml"
set COBERTURA_RESULT="cobertura-result.xml"
REM Run Nunit & OpenCover
"C:\Program Files (x86)\OpenCover\OpenCover.Console.exe" -target:"C:\Program Files (x86)\NUnit 2.6.2\bin\nunit-console.exe" -targetargs:"/xml=%NUNIT_RESULT% /nologo /noshadow \"%WORKSPACE%\OptimePortal.Tests\bin\Release\OptimePortal.Tests.dll\"" -filter:"+[OptimePortal]* -[OptimePortal]OptimePortal.Tests.* -[OptimePortal]OptimePortal.Resources.* -[OptimePortal]OptimePortal.MvcApplication -[OptimePortal]OptimePortal.App_Start*" -register:user -output:"%OPENCOVER_RESULT%"
REM Generate cobertura results
@jdonaldson10
jdonaldson10 / notepadpp.bat
Last active Aug 29, 2015
Set sublime text 3 as git commit editor on windows
View notepadpp.bat
git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -nosession -noPlugin"
You can’t perform that action at this time.