xnt.build.make

Wrapping methods around build tools

xnt.build.make.ant(target, path='', flags=None, pkeys=None, pvalues=None)

Wrapper around Apache Ant

Invoke Apache Ant in either the current working directory or the specified directory using the specified target, passing a list of flags to the invocation. Where flags is a list of valid flags for ant.

pkeys and pvalues are zipped to form a key/value pair passed to Ant as property values

Parameters:
  • target – Ant Target to execute
  • path – Path of the Ant build file if different than current directory
  • flags – List of flags to pass to Ant
  • pkeys – List of keys to combine with pvalues to pass to Ant
  • pvalues – List of values to combine with pkeys to pass to Ant
xnt.build.make.make(target, path='', flags=None, pkeys=None, pvalues=None)

Wrapper around GNU Make

Invoke Gnu Make (make) in either the current working directory or the specified directory using the specified target, passing a list of flags to the invocation. Where flags is a list of valid flags for make.

pkeys and pvalues are zipped together to form a key/value pair that are passed to Make as property values.

Parameters:
  • target – Make Target to execute
  • path – Path of the make file if different than current directory
  • flags – List of flags to pass to make
  • pkeys – List of keys, zipped with pvalues, to pass to Make
  • pvalues – List of values, zipped with pkeys, to pass to Make
xnt.build.make.nant(target, path='', flags=None, pkeys=None, pvalues=None)

Wrapper around .NET Ant

Invoke NAnt in either the current working directory or the specified directory using the specified target, passing a list of flags to the invocation. Where flags is a list of valid flags for nant.

pkeys and pvalues are zipped together to form a key/ value pair to pass to NAnt as property values.

Parameters:
  • target – NAnt Target to execute
  • path – Path of NAnt build file, if different than current directory
  • flags – List of flags to pass to NAnt
  • pkeys – List of keys, zipped with pvalues, to pass to NAnt
  • pvalues – List of values, zipped with pkeys, to pass to NAnt

Previous topic

xnt.build.cc

Next topic

xnt.build.tex

This Page