2019-11-01 12:19:59 +01:00
|
|
|
# This configure.py file is places in the public domain.
|
2019-10-14 19:09:12 +02:00
|
|
|
|
2019-11-01 12:19:59 +01:00
|
|
|
# Configure the build directory.
|
|
|
|
# This file is invoked by './configure' and should usually not be invoked
|
|
|
|
# manually.
|
2019-10-14 19:09:12 +02:00
|
|
|
|
2020-03-30 09:24:52 +02:00
|
|
|
import talerbuildconfig as tbc
|
|
|
|
import sys
|
2019-10-14 19:09:12 +02:00
|
|
|
|
2020-03-30 09:24:52 +02:00
|
|
|
if getattr(tbc, "serialversion", 0) < 2:
|
|
|
|
print("talerbuildconfig outdated, please update the build-common submodule and/or bootstrap")
|
|
|
|
sys.exit(1)
|
|
|
|
|
|
|
|
b = tbc.BuildConfig()
|
2019-10-14 19:09:12 +02:00
|
|
|
b.enable_prefix()
|
|
|
|
b.enable_configmk()
|
2020-03-30 09:24:52 +02:00
|
|
|
b.add_tool(tbc.PosixTool("find"))
|
|
|
|
b.add_tool(tbc.NodeJsTool(version_spec=">=12"))
|
|
|
|
b.add_tool(tbc.YarnTool())
|
2019-10-14 19:09:12 +02:00
|
|
|
b.run()
|