task-registry-resource
v0.1.1
Published
Resource Task is an abstract [resource][resource-file] processing task.
Downloads
5
Maintainers
Readme
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 = Task.register
aliases = Task.aliases
class TestResourceTask
register TestResourceTask, ResourceTask
aliases TestResourceTask, 'Test', 'test'
constructor: -> return super
_executeSync: sinon.spy (aFile)->aFile
API
TODO
License
MIT