Kook/Rook

News

Introduction

Fig: Cookbook format is YAML and it allows to contain PHP/Ruby code.
figure of kook

Kook and Rook is a software build tool such as Make, Ant, SCons or Cook. Kook is implemented in PHP5 and Rook is the port of Kook into Ruby. Basic commands (copy, move, rename, mkdir, ...) are also implemented in PHP(Kook) or Ruby(Rook) and allow you to execute platform-depended command.

Kook and Rook liken build process to cooking.

Kook/Rook generates products from ingredients according to recipes. You describe products, ingredients, and recipes in cookbook.

Cookbook's format is YAML which is much easier for human to read and write than XML. In addition, Kook and Rook allows you to embed PHP or Ruby code into cookbook directly. It means that you can get the advantage of 'declarative' with YAML and of 'procedural' with PHP/Ruby code.

Kook is implemented in PHP5 because exception is supported only in PHP5 and not supported in PHP4. You need to install PHP5 before using Kook.

Rook is a Ruby port of Kook. It works with Ruby 1.8 or later.

Download

Installation

Documents

License

Other