Task which will be concatenate your files for task manager Tasker
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Tasker/Concat
LICENSE
README.md
composer.json

README.md

#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