def mvAssets(self): homePath = os.getenv('HOME') assetsPath = '%s/labrador/etc/templets/stylesheets/new_web/assets/' % homePath targetAssetsPath = '%s/assets/' % self.webroot_dir utils.fileMover(assetsPath, targetAssetsPath) targetCustomPath = targetAssetsPath + "custom/" utils.fileMover(self.custom_dir, targetCustomPath)
def copyResourceFiles(self): # 导航文件直接在temp_out_path中生成,所以不用复制,需要复制的是stylesheets目录 utils.fileMover(self.stylesheet_path, self.temp_out_dir + "/xml_stylesheets")
def mv2webroot(self): utils.fileMover(self.temp_out_dir, self.webroot_dir)