Cake 0.2.3

Simple Python build program
Cake is a simple build program written in Python, similar to Rake.

It uses a simple yaml file (Cakefile) to load tasks from your project. Cake can be called from anywhere in the project. Support for task descriptions and parameters.

Usage:

cake [taskname] [taskargs]

Example:

$ cat Cakefile
TASKDIRS:
 - demo

$ cat demo/*.py
from cake import task

def common():
 print "common code finished"

@task
def one():
 common()
 print "one finished"

@task()
def two():
 common()
 print "two finished"

@task("complex task")
def three(value):
 common()
 print "three finished with value %s" % value

$ cake
(in /home/alex/work/python/cake)
cake one #
cake three (value) # complex task
cake two #

$ cake three 2
(in /home/alex/work/python/cake)
common code finished
three finished with value 2


Install:

pip install cake

last updated on:
January 26th, 2012, 0:28 GMT
price:
FREE!
developed by:
Alexandru Cepoi
homepage:
github.com
license type:
GPL v3 
category:
ROOT \ Programming \ Compilers

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT