From 0a84981950f5205dfd2e2e02da66b4fa8614bf7c Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Sun, 17 May 2015 16:34:45 +0200 Subject: [PATCH] Made the rebuild avoid dirtying the Git Status --- External Dependencies/rebuild-all.cmd | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/External Dependencies/rebuild-all.cmd b/External Dependencies/rebuild-all.cmd index 88f007a8..b8e1886b 100644 --- a/External Dependencies/rebuild-all.cmd +++ b/External Dependencies/rebuild-all.cmd @@ -1,14 +1,27 @@ @echo off + +:: Make sure that the submodules are properly initialized + git submodule init git submodule update +:: Check out latest version of each + git submodule foreach git checkout master git submodule foreach git pull +:: Build all + C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild /p:Configuration=Release;TargetFrameworkVersion=v4.5 /t:Clean;Build NBitcoin\NBitcoin\NBitcoin.csproj +:: Copy builds to output + if exist bin erase /s /q bin > nul if not exist bin mkdir bin cd bin xcopy /s ..\NBitcoin\NBitcoin\bin\Release\* . cd .. + +:: Revert submodules as to not dirty the Git Status + +git submodule update