Cake

Simple Python build program
Download

Cake Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL v3
  • Publisher Name:
  • Alexandru Cepoi
  • Publisher web site:
  • https://github.com/alexcepoi/

Cake Tags


Cake Description

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 Example:$ cat CakefileTASKDIRS: - demo$ cat demo/*.pyfrom cake import taskdef common(): print "common code finished"@taskdef 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 taskcake two #$ cake three 2(in /home/alex/work/python/cake)common code finishedthree finished with value 2Install:pip install cake Requirements: · Python · PyYAML


Cake Related Software