mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 23:20:23 +00:00
Update create.py
This commit is contained in:
parent
4ac99768db
commit
27f365243d
1 changed files with 2 additions and 3 deletions
|
@ -22,8 +22,7 @@ mylists=ReadLists("add")
|
|||
# 批量处理,创建项目文件夹,issue
|
||||
for mylist in mylists:
|
||||
print("处理 "+mylist+" ...\n")
|
||||
os.system("git clone --depth=1 https://github.com/Websoft9/ansible-template.git "+ mylist + "rm -rf ansible-template")
|
||||
os.system("cd "+ mylist +" && rm -rf .git .github docs")
|
||||
os.system("cd apps/roles && cp -R Template " + mylist)
|
||||
os.system("echo '' > add")
|
||||
|
||||
print("\n执行完成,并清空列表")
|
||||
print("\n执行完成,并清空列表")
|
||||
|
|
Loading…
Reference in a new issue