tasker/tasker-concat-files

Task which will be concatenate your files for task manager Tasker

v1.3 2013-11-05 16:08 UTC

This package is not auto-updated.

Last update: 2024-11-04 16:38:28 UTC


README

#Tasker: Concatenate files

Task which will be concatenate your files for task manager Tasker

###Example of usage

  1. 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();
  1. Create config file tasker.json
	{
	  "concatFiles": {
	    "www/build/app.js": [
	      "libs/client/angular/angular.min.js",
	      "libs/client/angular-resource/angular-resource.min.js"
	    ]
	  }
}
  1. Run Tasker

php ~/repo/scripts/build.php