[enh] check for settings.yaml
This commit is contained in:
parent
0f1b4a1dea
commit
cc0aedccf3
@ -1,9 +1,14 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def main():
|
||||
if not os.path.exists("settings.yaml") or not os.path.exists("settings.yml"):
|
||||
sys.stderr.write("I can't find a settings.yaml or settings.yml, abort")
|
||||
sys.exit(1)
|
||||
|
||||
if not os.path.exists("build"):
|
||||
os.makedirs("build")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user