Skip to content
/ builder Public

python实现通过文件及目录创建、复制等操作,实现简单的项目打包、备份等

License

Notifications You must be signed in to change notification settings

jay-y/builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About Project

用python实现通过文件及目录创建、复制等操作,实现简单的项目打包、备份等

Usage

配置:assets/config.json
read_path:指定读取文件目录
out_path:指定输出文件目录
create:[
    {
        name:创建的目录或文件路径,
        is_file:是否是文件(true/false),
        content:文件的话可制定初始化内容
    },
    ...]
copy:[
    {
        old_path:复制的目录或文件的源路径,
        new_path:复制的目录或文件的目标路径
    },
    ...]

执行:python scripts/main.py

About Me

About

python实现通过文件及目录创建、复制等操作,实现简单的项目打包、备份等

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages