0.1.1 • Published 8 years ago

task-registry-resource v0.1.1

Weekly downloads
6
License
MIT
Repository
github
Last release
8 years ago

task-registry-resource npm

Build Status Code Climate Test Coverage downloads license

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