tasker / tasker-concat-files
Task which will be concatenate your files for task manager Tasker
v1.3
2013-11-05 16:08 UTC
Requires
- php: >=5.3.2
- tasker/tasker: >=2.0
- tasker/utils: >=1.0
This package is not auto-updated.
Last update: 2024-11-18 16:56:56 UTC
README
#Tasker: Concatenate files
Task which will be concatenate your files for task manager Tasker
###Example of usage
- Register task into Tasker bootstrap (~/repo/scripts/build.php):
<?php require_once __DIR__ . '/../libs/server/autoload.php'; $tasker = new \Tasker\Tasker(); $tasker->addConfig(__DIR__ . '/../config/tasker.json') ->registerTask(new \Tasker\Concat\ConcatFilesTask); $tasker->run();
- Create config file tasker.json
{ "concatFiles": { "www/build/app.js": [ "libs/client/angular/angular.min.js", "libs/client/angular-resource/angular-resource.min.js" ] } }
- Run Tasker
php ~/repo/scripts/build.php