From 39cc40b6ca462246d505f59108793b4db826c66b Mon Sep 17 00:00:00 2001 From: Scott Davies Date: Mon, 13 Apr 2015 14:47:39 +0100 Subject: [PATCH] test test --- .gitignore | 3 +++ RA_Integration/MakeBuildVer.bat | 7 +++---- RA_Integration/RA_Core.cpp | 1 + RA_Integration/RA_Defs.h | 2 +- RA_Integration/RA_Integration.vcxproj | 6 ++++++ 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 99fbf374..d804a8dd 100644 --- a/.gitignore +++ b/.gitignore @@ -258,3 +258,6 @@ /bizhawk/output/N64/SaveRAM/*.bak /bizhawk/output/N64/State/*.State /bizhawk/output/N64/State/*.bak +/RA_Integration/RA_BuildVer.h +/RA_Integration/Diffs.txt +/RA_Integration/LiveTag.txt diff --git a/RA_Integration/MakeBuildVer.bat b/RA_Integration/MakeBuildVer.bat index 8cf6ef8c..06c2e317 100644 --- a/RA_Integration/MakeBuildVer.bat +++ b/RA_Integration/MakeBuildVer.bat @@ -3,15 +3,14 @@ REM git describe --tags --long > LiveTag.txt git describe --tags --match "RAIntegration.*" > LiveTag.txt @set /p ACTIVE_TAG= Diffs.txt @set /p RAW_DIFFS_FOUND= ./RABuildVer.h \ No newline at end of file +@echo RAIntegration Tag: %ACTIVE_TAG% (%VERSION_NUM%) +@echo #define RA_INTEGRATION_VERSION "0.%VERSION_NUM%" > ./RA_BuildVer.h \ No newline at end of file diff --git a/RA_Integration/RA_Core.cpp b/RA_Integration/RA_Core.cpp index 87605d69..d8965dc3 100644 --- a/RA_Integration/RA_Core.cpp +++ b/RA_Integration/RA_Core.cpp @@ -3,6 +3,7 @@ #include "RA_Achievement.h" #include "RA_AchievementSet.h" #include "RA_AchievementOverlay.h" +#include "RA_BuildVer.h" #include "RA_CodeNotes.h" #include "RA_Defs.h" #include "RA_httpthread.h" diff --git a/RA_Integration/RA_Defs.h b/RA_Integration/RA_Defs.h index e3f17deb..c45e4e1d 100644 --- a/RA_Integration/RA_Defs.h +++ b/RA_Integration/RA_Defs.h @@ -19,7 +19,7 @@ #else //NB. These must NOT be accessible from the emulator! -#define RA_INTEGRATION_VERSION "0.053" +//#define RA_INTEGRATION_VERSION "0.053" // RA-Only #include "rapidjson/include/rapidjson/document.h" diff --git a/RA_Integration/RA_Integration.vcxproj b/RA_Integration/RA_Integration.vcxproj index c74ce95b..d2339c89 100644 --- a/RA_Integration/RA_Integration.vcxproj +++ b/RA_Integration/RA_Integration.vcxproj @@ -70,6 +70,9 @@ false Windows + + MakeBuildVer.bat + @@ -91,6 +94,9 @@ Windows true + + MakeBuildVer.bat +