library build
Simple build tools
crodas/build
Simple build tools
- Sunday, October 25, 2015
- by crodas
- Repository
- 1 Watchers
- 0 Stars
- 649 Installations
- PHP
- 2 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 5 Versions
- 0 % Grown
Build
Build
is a task management and automation tool. It was inspired in Makefile
and Python's doit, (*1)
Concepts
- Annotations are used to define
tasks
-
crodas/Build
do not build things unless they are needed:
- When there is no output file
- When any input file changes
<?php // Tasks.php
/**
* @Task(build_site)
*/
function concat_files($output, Array $input, Array $settings $builder)
{
/* Do something with the input files */
$content = "";
foreach ($input as $f) {
$content .= file_get_contents($f);
}
/* Write it in the $output file */
file_put_contents($output, $content);
}
<?php // build.php
$builder = new crodas\Build("/tasks.php");
$bundle_js = $build->build_site(['foo.js', 'xxx.js']);
dev-develop
dev-develop
Simple build tools
Sources
Download
MIT
The Requires
The Development Requires
by
Cesar Rodas
dev-master
9999999-dev
Simple build tools
Sources
Download
MIT
The Requires
The Development Requires
by
Cesar Rodas
v0.2.0
0.2.0.0
Simple build tools
Sources
Download
MIT
The Requires
The Development Requires
by
Cesar Rodas
v0.1.1
0.1.1.0
Simple build tools
Sources
Download
MIT
The Requires
by
Cesar Rodas
v0.1.0
0.1.0.0
Simple build tools
Sources
Download
MIT
The Requires
by
Cesar Rodas