summaryrefslogtreecommitdiff
path: root/build-system/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'build-system/configure.py')
-rw-r--r--build-system/configure.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/build-system/configure.py b/build-system/configure.py
new file mode 100644
index 000000000..4595aae10
--- /dev/null
+++ b/build-system/configure.py
@@ -0,0 +1,20 @@
+# This configure.py file is places in the public domain.
+
+# Configure the build directory.
+# This file is invoked by './configure' and should usually not be invoked
+# manually.
+
+import talerbuildconfig as tbc
+import sys
+
+if getattr(tbc, "serialversion", 0) < 2:
+ print("talerbuildconfig outdated, please update the build-common submodule and/or bootstrap")
+ sys.exit(1)
+
+b = tbc.BuildConfig()
+b.enable_prefix()
+b.enable_configmk()
+b.add_tool(tbc.PosixTool("find"))
+b.add_tool(tbc.NodeJsTool(version_spec=">=12"))
+b.add_tool(tbc.YarnTool())
+b.run()