Added StringMaker (for partially specialising string conversions), extended BDD macros and moved file/line info to top of message.
Re-enable ANSI colour by default - hopefully properly excluding Windows this time
This commit is contained in:
1 parent
ead139e094
commit
767f1588dc
14 files changed
+952
-872
No files matched your search
@@ -17,6 +17,8 @@ versionPath = os.path.join( rootPath, "internal/catch_version.hpp" )
|
||||
readmePath = os.path.join( catchPath, "README" )
|
||||
#outputPath = os.path.join( catchPath, 'single_include/catch.hpp' )
|
||||
|
||||
bumpVersion = len(sys.argv) < 2 or sys.argv[1] <> "nobump"
|
||||
|
||||
def parseFile( path, filename ):
|
||||
f = open( path + filename, 'r' )
|
||||
blanks = 0
|
||||
@@ -86,9 +88,10 @@ class Version:
|
||||
|
||||
def generateSingleInclude():
|
||||
v = Version()
|
||||
v.incrementBuildNumber()
|
||||
v.updateVersionFile()
|
||||
v.updateReadmeFile()
|
||||
if bumpVersion:
|
||||
v.incrementBuildNumber()
|
||||
v.updateVersionFile()
|
||||
v.updateReadmeFile()
|
||||
print "/*"
|
||||
print " * CATCH v{0}.{1} build {2} ({3} branch)".format( v.majorVersion, v.minorVersion, v.buildNumber, v.branchName )
|
||||
print " * Generated: " + str( datetime.datetime.now() )
|
||||
|
||||
Reference in new issue
Block a user