aboutsummaryrefslogtreecommitdiff
path: root/configure.py
blob: 3a5a8de1cec0622f96afd612932e0ff01c4753c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env python3

import sys
from pathlib import Path

base_dir = Path(__file__, "../build-system/taler-build-scripts").resolve()
if not base_dir.exists():
    print(
        f"build system directory ({base_dir}) missing", file=sys.stderr
    )
    sys.exit(1)
sys.path.insert(0, str(base_dir))

from talerbuildconfig import *

b = BuildConfig()
b.enable_prefix()
b.enable_configmk()
b.add_tool(PosixTool("find"))
b.add_tool(NodeJsTool())
b.add_tool(YarnTool())
b.run()