PASDK-216:Add SIDK build generation script
authorFrank Livingston <frank-livingston@ti.com>
Tue, 25 Jul 2017 22:37:26 +0000 (17:37 -0500)
committerFrank Livingston <frank-livingston@ti.com>
Tue, 25 Jul 2017 22:37:26 +0000 (17:37 -0500)
clean_and_jerk.bat [new file with mode: 0644]

diff --git a/clean_and_jerk.bat b/clean_and_jerk.bat
new file mode 100644 (file)
index 0000000..9194433
--- /dev/null
@@ -0,0 +1,16 @@
+set PATH_ORG=%path%
+set path=c:\cygwin\bin;%path%
+
+git clean -fdx --exclude=clean_and_jerk.bat
+git submodule foreach git clean -fdx
+
+git ls-files -m | xargs git checkout --
+git submodule foreach "git ls-files -m | xargs git checkout --"
+
+git branch -vv > repos_before_build.txt && git submodule foreach git branch -vv >> repos_before_build.txt
+
+call build_all.bat SuperRepo Debug > build_all_log.txt 2>&1
+
+git branch -vv > repos_after_build.txt && git submodule foreach git branch -vv >> repos_after_build.txt
+
+set path=%PATH_ORG%