Example #1
0
 def start(self):
     static_path = os.path.join(g.theme_directory, 'static')
     l = len(static_path) + 1
     for f in walk_dir(static_path):
         path = f[l:]
         dest = os.path.join(g.static_directory, path)
         copy_to(f, dest)
Example #2
0
 def start(self):
     l = len(g.source_directory) + 1
     for f in g.pure_files:
         path = f[l:]
         logging.debug('copy %s' % path)
         dest = os.path.join(g.output_directory, path)
         copy_to(f, dest)
Example #3
0
 def start(self):
     l = len(g.source_directory) + 1
     for f in g.pure_files:
         path = f[l:]
         logging.debug('copy %s' % path)
         dest = os.path.join(g.output_directory, path)
         copy_to(f, dest)
Example #4
0
 def start(self):
     static_path = os.path.join(g.theme_directory, 'static')
     l = len(static_path) + 1
     for f in walk_dir(static_path):
         path = f[l:]
         logging.debug('copy %s' % path)
         dest = os.path.join(g.static_directory, path)
         copy_to(f, dest)