testing files in config

master
Matt Huntington 10 years ago
parent 5fc8733a5b
commit d2c6cb98a6

@ -1,13 +1,15 @@
var cml_converter = require('cml-html-converter');
module.exports = function(grunt) { module.exports = function(grunt) {
grunt.initConfig({ grunt.initConfig({
log: { cml: {
foo: [1, 2, 3], test: {
bar: 'hello world', src: 'test.txt',
baz: false dest: 'result.html'
}
} }
}); });
grunt.registerMultiTask('log', 'Log stuff.', function() { grunt.registerMultiTask('cml', function() {
grunt.log.writeln(this.target + ': ' + this.data); console.log(this);
}); });
}; };

Loading…
Cancel
Save