Added a TODO marker for recompilation of resource files.

Fri, 25 Dec 2015 17:44:36 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 25 Dec 2015 17:44:36 +0100
changeset 4624
aebdbffe02b6
parent 4622
8800cbcbb496
child 4625
ac72a3d8f89e

Added a TODO marker for recompilation of resource files.

Project/ProjectResourcesBrowser.py file | annotate | diff | comparison | revisions
--- a/Project/ProjectResourcesBrowser.py	Fri Dec 25 17:04:54 2015 +0100
+++ b/Project/ProjectResourcesBrowser.py	Fri Dec 25 17:44:36 2015 +0100
@@ -870,6 +870,10 @@
                         dirname, self.RCFilenameFormatRuby.format(filename))
                 else:
                     return
+                # TODO: check for files contained in resources as well
+                #  - read the resource *.rc file and extract file names
+                #  - add the resource file, if one file is newer as the
+                #    compiled Python/Ruby source
                 if not os.path.exists(ofn) or \
                    os.stat(ifn).st_mtime > os.stat(ofn).st_mtime:
                     changedResources.append(fn)

eric ide

mercurial