This repository has been archived on 2024-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
2018-10-12 23:00:20 +02:00
|
|
|
#!/usr/bin/env python
|
2018-10-14 20:52:05 +02:00
|
|
|
import sys
|
|
|
|
from pathlib import Path, PurePath
|
2018-10-12 23:00:20 +02:00
|
|
|
|
|
|
|
from negromateweb.builder import Builder
|
|
|
|
|
2018-10-14 20:52:05 +02:00
|
|
|
if len(sys.argv) == 2:
|
|
|
|
root_path = sys.argv[1]
|
|
|
|
else:
|
|
|
|
# root_path = '/nm/'
|
|
|
|
root_path = '/'
|
|
|
|
|
|
|
|
builder = Builder(
|
|
|
|
Path('../bideoak'),
|
|
|
|
Path('../libreto/libreto.pdf'),
|
|
|
|
root_path=PurePath(root_path)
|
|
|
|
)
|
2018-10-12 23:00:20 +02:00
|
|
|
builder.build()
|