Example #1
0
<?php

/**
./makelos doc:app                   # Build the app documetation Files into docs/app/api
./makelos doc:plugins               # Generate documation for all installed plugins in docs/plugins
./makelos doc:akelos                # Build the akelos documentation files into docs/akelos/api
./makelos doc:website               # Add a new controller at /docs to browse avaliable documentation
./makelos doc:website:remove        # Removed the files added by ./makelos doc:website
*/
makelos_task('doc:akelos', array('description' => 'Build the akelos HTML Files'));
makelos_task('doc:website', array('description' => 'Creates a website for browsing your docs at app/controllers/docs_controller.php'));
makelos_task('doc:website:remove', array('description' => 'Removes the files added by ./makelos doc:website'));
/*
makelos_task('doc:extract_metadata', array(
    'description' => 'Extracts metadata from source code files to generate the documentation'
));
*/
Example #2
0
<?php

# This file is part of the Akelos Framework
# (Copyright) 2004-2010 Bermi Ferrer bermi a t bermilabs com
# See LICENSE and CREDITS for details
makelos_task('akelos:create_app', array('description' => 'Creates a new Akelos application'));
makelos_task('akelos:install', array('description' => 'Installs the Akelos Framework in your system.'));
Example #3
0
<?php

# This file is part of the Akelos Framework
# (Copyright) 2004-2010 Bermi Ferrer bermi a t bermilabs com
# See LICENSE and CREDITS for details
makelos_task('T,tasks', array('description' => 'Shows available tasks', 'run' => array('php' => <<<PHP
    \$Makelos->displayAvailableTasks();
PHP
)));
makelos_task('test:case', array('description' => 'Runs a single test case file'));
makelos_task('test:units', array('description' => 'Run all unit tests'));
makelos_task('test:functionals', array('description' => 'Run all functional tests'));
makelos_task('release:generate', array('description' => 'Generates a new release'));
makelos_task('db:sessions:create', array('description' => 'Creates the database table for storing sessions'));
Example #4
0
<?php

makelos_task('doc:akelos', array('description' => 'Build the Akelos HTML Files'));
Example #5
0
<?php

makelos_task('db:recode', array('description' => 'Recodes MySQL database columns and tables to use utf8_ci'));
makelos_task('db:backup', array('description' => 'Dumps a backup of the database schema into db/{ENVIROMENT}.sql'));
makelos_task('db:structure:dump', array('description' => 'Dumps current database schema stucture into db/{ENVIROMENT}_structure.sql'));
Example #6
0
<?php

makelos_task('T,tasks', array('description' => 'Shows available tasks', 'run' => array('php' => <<<PHP
    \$Makelos->displayAvailableTasks();
PHP
)));
Example #7
0
<?php

makelos_setting(array('app_name' => 'Documentation Site', 'servers' => array('docs.akelos.org' => array('public_key' => './config/pub.key', 'username' => 'bermi'))));
makelos_task('expects', array('parameters' => 'one,two', 'run' => array('php' => 'echo "Siiii"')));
makelos_task('doit', array('run' => array('php' => 'echo "Siiii"')));
makelos_task('dont', array('run' => array('php' => '$Makelos->run("doit");')));
Example #8
0
<?php

# This file is part of the Akelos Framework
# (Copyright) 2004-2010 Bermi Ferrer bermi a t bermilabs com
# See LICENSE and CREDITS for details
makelos_task('generate', array('description' => 'Akelos generators'));