1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
.. Xnt documentation master file, created by
sphinx-quickstart2 on Mon Oct 29 17:52:47 2012.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to Xnt's documentation!
===============================
Xnt is a high-level wrapper build tool for better managing your projects' build
process. It allows you to include multiple sub-build tools (such as: ``make``,
``ant``, ``nant`` and potentially more) in a single project while exposing a
single and simple interface.
Why you should use Xnt:
- Xnt exposes a single and simple interface for building your project
- Xnt is written in Python, making it easy to expand and extend your build
targets
- Your build targets will be described in Python, making it much easier and
quicker to write build files for new and existing projects
Contents:
.. toctree::
:maxdepth: 2
buildfile
taskreference
Motivation
==========
When writing something such as a build tool, there is always the question:
"why?". Why write yet another build tool?
Well, there are several reasons that are the backing motivation:
First, developing a variety of software, using one and only one build tool for
every project is nearly (if not entirely) impossible. There is a desire to have
a consistent build step and process when testing and deploying. Given the
environment in which the code is written is heterogeneous, having one uniform
build tool that wraps itself around the other ones (and has the ability to
expand to new ones) is ideal.
Second, short of dropping into the language the build tool was written in,
expanding some build steps is very difficult (or at least can be). Further
there can be complicated build targets that require some interesting and
potentially involved (smelly) procedures to be accomplished, that may or may
not be easy to describe in the build file or in the native language. Therefore,
having a wrapping build framework/ tool that is written in an easy to read and
write language, such as Python, these complicated steps can depend less on some
funky new build library (further adding to the dependency tree) and can become
just implementation details (assuming, of course, you buy into Xnt first).
Last, and most certainly the least, I wanted to explore the idea. I wanted to
write something that made me think about solving some of the problems
challenged by such a tool.
Installing
==========
To install, you can either install from source or use Pip.
Source
------
To install from Source (stable), run the following::
curl -0 http://pypi.python.org/packages/source/X/Xnt/Xnt-0.2.3.tar.gz \
> Xnt.tar.gz
tar -xzvf Xnt.tar.gz
cd Xnt-0.2.3
python setup.py install --user
Development Build
-----------------
To build and install from a development build(non-stable/ testing), run::
curl -0 https://bitbucket.org/devnulltao/xnt/get/default.tar.gz \
> Xnt.tar.gz
tar -xzvf Xnt.tar.gz
cd default
python setup.py install --user
Pip
---
To install using Pip, run::
pip install Xnt --user
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
|