Changeset 481

Show
Ignore:
Timestamp:
Wed Jul 23 13:34:02 2008
Author:
htgoebel
Message:

Build.py did not honor zipfiles everywhere necessary. Fixed.

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/Build.py

    r478 r481  
    148 148                 return True  
    149 149         try:  
    150               inputs, pathex, hookspath, excludes, scripts, pure, binaries = _load_data(self.out)  
      150             inputs, pathex, hookspath, excludes, scripts, pure, binaries, zipfiles = _load_data(self.out)  
    150 150         except:  
    151 151             print "building because %s disappeared" % outnm  
     
    175 175                 print "building because %s changed" % fnm[:-1]  
    176 176                 return True  
    177           # todo: add zipfiles  
    178           for (nm, fnm, typ) in binaries:  
      177         for (nm, fnm, typ) in binaries + zipfiles:  
    179 178             if mtime(fnm) > last_build:  
    180 179                 print "building because %s changed" % fnm  
     
    251 250         except:  
    252 251             oldstuff = None  
    253           # todo: add zipfiles  
    254 252         newstuff = (self.inputs, self.pathex, self.hookspath, self.excludes,  
    255                       self.scripts, self.pure, self.binaries)  
      253                     self.scripts, self.pure, self.binaries, self.zipfiles)  
    255 253         if oldstuff != newstuff:  
    256 254             _save_data(self.out, newstuff)