diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2015-09-21 10:45:47 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2015-09-21 10:45:47 +1000 |
commit | 031dd0ed3f6e1d0054361219a45d306627b84e48 (patch) | |
tree | 5af5a7d869d9304b54f6fc2750c28c7bb7dae48d /scripts/LexGen.py | |
parent | f40428e124d088e5b66458c879d0881023a1f5c8 (diff) | |
download | scintilla-mirror-031dd0ed3f6e1d0054361219a45d306627b84e48.tar.gz |
Automate updating of version numbers in the Scintilla framework.
Diffstat (limited to 'scripts/LexGen.py')
-rw-r--r--[-rwxr-xr-x] | scripts/LexGen.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/LexGen.py b/scripts/LexGen.py index f2496be2a..934968c27 100755..100644 --- a/scripts/LexGen.py +++ b/scripts/LexGen.py @@ -8,7 +8,7 @@ # Files are regenerated in place with templates stored in comments. # The format of generation comments is documented in FileGenerator.py. -from FileGenerator import Regenerate, UpdateLineInFile, ReplaceREInFile +from FileGenerator import Regenerate, UpdateLineInFile, ReplaceREInFile, UpdateLineInPlistFile import ScintillaData import HFacer @@ -38,6 +38,10 @@ def UpdateVersionNumbers(sci, root): UpdateLineInFile(root + "doc/ScintillaHistory.html", ' Released ', ' Released ' + sci.dmyModified + '.') + UpdateLineInPlistFile(root + "cocoa/ScintillaFramework/Info.plist", + "CFBundleVersion", sci.versionDotted) + UpdateLineInPlistFile(root + "cocoa/ScintillaFramework/Info.plist", + "CFBundleShortVersionString", sci.versionDotted) def RegenerateAll(root): |