mirror of https://github.com/CGAL/cgal
Do not create dont_submit, src, scripts, developer_scripts as we do not need them for new packages
This commit is contained in:
parent
bf5247af8c
commit
dd4c8e6996
|
|
@ -118,12 +118,10 @@ if re.match("^[A-Za-z_][A-Za-z0-9_]*$", packagename):
|
||||||
packagepath = packagename
|
packagepath = packagename
|
||||||
|
|
||||||
os.mkdir(packagepath)
|
os.mkdir(packagepath)
|
||||||
open(os.path.join(packagepath, 'dont_submit'), 'w').close()
|
|
||||||
|
|
||||||
inclpath = os.path.join(packagepath, 'include', 'CGAL', packagename)
|
inclpath = os.path.join(packagepath, 'include', 'CGAL', packagename)
|
||||||
os.makedirs(inclpath)
|
os.makedirs(inclpath)
|
||||||
|
|
||||||
os.mkdir(os.path.join(packagepath, 'src'))
|
|
||||||
|
|
||||||
testpath = os.path.join(packagepath, 'test', packagename)
|
testpath = os.path.join(packagepath, 'test', packagename)
|
||||||
os.makedirs(testpath)
|
os.makedirs(testpath)
|
||||||
|
|
@ -145,8 +143,6 @@ if re.match("^[A-Za-z_][A-Za-z0-9_]*$", packagename):
|
||||||
benpath = os.path.join(packagepath, 'benchmark', packagename)
|
benpath = os.path.join(packagepath, 'benchmark', packagename)
|
||||||
os.makedirs(benpath)
|
os.makedirs(benpath)
|
||||||
|
|
||||||
os.mkdir(os.path.join(packagepath, 'scripts'))
|
|
||||||
os.mkdir(os.path.join(packagepath, 'developer_scripts'))
|
|
||||||
|
|
||||||
infopath = os.path.join(packagepath, 'package_info', packagename)
|
infopath = os.path.join(packagepath, 'package_info', packagename)
|
||||||
os.makedirs(infopath)
|
os.makedirs(infopath)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue