task-registry-resource
Resource Task is an abstract resource processing task.
It's registered to task-registry which is a task register and manager.
It adds the src
property for the file patterns to limit the files to be processed.
the passed aOptions
is a resource file object.
Usage
ResourceTask = require 'task-registry-resource'Task = require 'task-registry'register = Taskregisteraliases = Taskaliases register TestResourceTaskResourceTask aliases TestResourceTask'Test''test' : -> return super _executeSync: sinonspy aFile
API
TODO
License
MIT