all repos — py-vite @ a78efb5f514136dabda6c66859a5aad9356d73e4

the original vite, written in python

feat: create templates dir in project
icyphox icyph0x@protonmail.com
Sat, 17 Mar 2018 02:04:46 +0530
commit

a78efb5f514136dabda6c66859a5aad9356d73e4

parent

4d8ab71a29af014b7dc7826ab47c001341c58f26

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M vite.pyvite.py

@@ -26,6 +26,7 @@ try:

abs_path = pathlib.Path(path).resolve() pathlib.Path(path + '/pages').mkdir(parents=True, exist_ok=False) pathlib.Path(path + '/build').mkdir(exist_ok=False) + pathlib.Path(path + '/templates').mkdir(exist_ok=False) shutil.copy('make.py', path) print('Created project directory at %s.' % (abs_path)) except FileExistsError as e: