diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-10-14 22:39:12 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-10-14 22:39:12 +0530 |
commit | d79c2777c75b9e5e1d566960e2ed98e1a0e41449 (patch) | |
tree | 97fa9d5733cd1584a8004612b4186663aa6cd3a2 /configure.py | |
parent | a76a1ccf8e0d648a354e2354ad5456c8293d4bbc (diff) |
build system
Diffstat (limited to 'configure.py')
-rw-r--r--[l---------] | configure.py | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/configure.py b/configure.py index 51dc3d24b..3a5a8de1c 120000..100644 --- a/configure.py +++ b/configure.py @@ -1 +1,22 @@ -build-scripts/configure.py
\ No newline at end of file +#!/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() |