Coder Social home page Coder Social logo

lib-taskman's People

Contributors

pachanga avatar

Watchers

 avatar

lib-taskman's Issues

Зависимость "после"

В том же constrictor у нас есть несколько тасков, 
которые требуют после себя уборки. 
Соответственно хочется иметь возможность 
в самом таске указать, что после него надо 
убраться. Только не знаю, как его обозвать. 
Deps_after?

Original issue reported on code.google.com by [email protected] on 14 Oct 2010 at 1:16

Ошибка, при наличие пробелов между названиями таксов

<?php
require(dirname(__FILE__) . '/taskman.inc.php');
taskman_run($argv);

/**
 * @deps get_sources, run_tests
 * @alias make
 * @desc Деплой проекта на рабочий сервер
 */
function task_build() {}

/**
 * @desc Получение исходного кода
 */
function task_get_sources() {}

/**
 * @desc Тестирование
 */
function task_run_tests() {}

/**
 * @after get_sources,run_tests
 * @desc Чистка рабочей копии
 */
function task_cleanup() {}

Вывод:

php ./test.php build
************************ Running task 'get_sources' ************************
************************* 'get_sources' done (0 sec.)*************************

Fatal error: Uncaught TaskmanException 'Task with name/alias '' does not exist' 
in /www/taskman/taskman.inc.php(436)
#0 /www/taskman/taskman.inc.php(463): taskman_gettask('')
#1 /www/taskman/taskman.inc.php(477): taskman_runtask('', Array)
#2 /www/taskman/taskman.inc.php(97): taskman_runtasks(Array, Array)
#3 /www/taskman/taskman.inc.php(465): TaskmanTask->run(Array)
#4 /www/taskman/taskman.inc.php(479): taskman_runtask('build', Array)
#5 /www/taskman/taskman.inc.php(285): taskman_runtasks(Array, Array)
#6 /www/taskman/test.php(3): taskman_run(Array)
#7 {main}
tasks: 
  thrown in /www/taskman/taskman.inc.php on line 436

Original issue reported on code.google.com by [email protected] on 14 Oct 2010 at 6:03

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.