build-common

Shared build system code (usually as a git submodule)
Log | Files | Refs | README | LICENSE

testconfigure.py (453B)


      1 from talerbuildconfig import *
      2 
      3 b = BuildConfig()
      4 b.enable_prefix()
      5 b.enable_configmk()
      6 b.add_tool(YarnTool())
      7 b.add_tool(BrowserTool())
      8 b.add_tool(PyBabelTool())
      9 b.add_tool(NodeJsTool(version_spec=">=12.0.0"))
     10 b.add_tool(PythonTool())
     11 b.add_tool(PosixTool("find"))
     12 b.add_tool(PosixTool("xargs"))
     13 b.add_tool(PosixTool("msgmerge"))
     14 b.use(Option("foo", help="What is foo?"))
     15 b.use(Option("bar", help="What is bar?", required=False, default="42"))
     16 b.run()