Atta Wiki
Build tool in pure Python. http://boguslawski-piotr.github.com/atta/
Status: Pre-Alpha
Brought to you by:
malypb
Atta is a FREE build tool, targets-tasks driven, developed in pure Python. Similar in philosophy to the Ant, NAnt, etc. but without the use of XML syntax nightmare.
TODO: give a cool and sensible extended description
build.py script:
from atta import * Project.defaultTarget = 'install' class prepare(Target): def Prepare(self): return True def Run(self): Echo('enter prepare') class precompile(Target): DependsOn = [prepare] def Run(self): Echo('enter precompile') class compile(Target): DependsOn = [prepare, precompile] def Run(self): Echo('enter compile') class install(Target): DependsOn = [prepare, compile, precompile] def Run(self): Echo('enter install', level = LogLevel.WARNING)
run Atta:
$> atta
and output will be:
Buildfile: build.py prepare: Echo: enter prepare precompile: Echo: enter precompile compile: Echo: enter compile install: Echo: enter install Build: SUCCESSFUL At: 2012-06-17T00:28:29.099000 Time: 0:00:00.055000