Cake

Software Screenshot:
Cake
Software Details:
Version: 0.2.3
Upload Date: 14 Apr 15
Developer: Alexandru Cepoi
Distribution Type: Freeware
Downloads: 16

Rating: 4.0/5 (Total Votes: 1)

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

Requirements:

  • Python
  • PyYAML

Similar Software

Ctalk
Ctalk

20 Feb 15

Pharo
Pharo

20 Feb 15

Voodoo Compiler
Voodoo Compiler

20 Feb 15

Comments to Cake

Comments not found
Add Comment
Turn on images!