The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
233 B
16 lines
233 B
5 years ago
|
#!/usr/bin/env python3
|
||
|
|
||
|
import os
|
||
|
import sys
|
||
|
|
||
|
out = sys.argv[1]
|
||
|
|
||
|
try:
|
||
|
os.mkdir(out)
|
||
|
except FileExistsError:
|
||
|
pass
|
||
|
|
||
|
for name in ('a', 'b', 'c'):
|
||
|
with open(os.path.join(out, name + '.html'), 'w') as f:
|
||
|
f.write(name)
|