Cake 0.2.3

Simple Python build program

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL v3 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Alexandru Cepoi
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Programming \ Compilers
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

requirements

#Python build #Python library #Python #build #compiler #library

Add your review!

SUBMIT