Project test configuration and updated README

Signed-off-by: Simon Bailey <simon@newtriks.com>
This commit is contained in:
Simon Bailey
2014-01-08 11:10:07 +00:00
parent b1562cd74c
commit fb2e98d63e
8 changed files with 268 additions and 34 deletions
+17
View File
@@ -0,0 +1,17 @@
'use strict';
var util = require('util');
var ScriptBase = require('../script-base.js');
var ComponentGenerator = module.exports = function ComponentGenerator(args, options, config) {
ScriptBase.apply(this, arguments);
};
util.inherits(ComponentGenerator, ScriptBase);
ComponentGenerator.prototype.createComponentFile = function createComponentFile() {
this.generateSourceAndTest(
'component',
'spec/component',
'components'
);
};