Project test configuration and updated README

Signed-off-by: Simon Bailey <simon@newtriks.com>
This commit is contained in:
Simon Bailey committed 2014-01-08 11:10:07 +00:00
1 parent b1562cd74c
commit fb2e98d63e
8 files changed
+268 -34

No files matched your search

+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'
);
};