拷贝到指定路径
This commit is contained in:
parent
ca149bac43
commit
b43efa55d4
|
@ -1,5 +1,6 @@
|
||||||
from scripts.task import Task
|
from scripts.task import Task
|
||||||
from utils import FileUtils
|
from utils import FileUtils
|
||||||
|
from utils import TimeUtils
|
||||||
from utils.logger_utils import app_logger
|
from utils.logger_utils import app_logger
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,6 +13,9 @@ class ProjectCopy(Task):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def init(self):
|
def init(self):
|
||||||
|
self.context.temp_project_path = self.context.project_original_path.replace(
|
||||||
|
"original", self.context.package_name.replace(".", "_") + TimeUtils.get_formatted_time(format_str="%H%M%S")
|
||||||
|
)
|
||||||
self.context.temp_project_path = self.context.project_original_path
|
self.context.temp_project_path = self.context.project_original_path
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue