anvil.concat
Advanced tools
Comparing version 0.0.4 to 0.1.0
/* | ||
anvil.concat - An anvil core plugin that provides file concatenation support | ||
version: 0.0.4 | ||
anvil.concat - An anvil core extension that provides file concatenation support | ||
version: 0.1.0 | ||
author: Alex Robson <alex@sharplearningcurve.com> (http://sharplearningcurve.com) | ||
@@ -10,7 +10,7 @@ copyright: 2011 - 2012 | ||
*/ | ||
var yaml = require( "yaml-js" ); | ||
var yaml; | ||
module.exports = function( _, anvil ) { | ||
return anvil.plugin( { | ||
anvil.plugin( { | ||
name: "anvil.concat", | ||
@@ -25,2 +25,5 @@ activities: [ "combine", "pre-process" ], | ||
configure: function( config, command, done ) { | ||
if( !yaml ) { | ||
yaml = require( "yaml-js" ); | ||
} | ||
if( command.concat ) { | ||
@@ -27,0 +30,0 @@ this.parseFile( command.concat, done ); |
{ | ||
"author": "Alex Robson <alex@sharplearningcurve.com> (http://sharplearningcurve.com)", | ||
"name": "anvil.concat", | ||
"description": "An anvil core plugin that provides file concatenation support", | ||
"version": "0.0.4", | ||
"description": "An anvil core extension that provides file concatenation support", | ||
"version": "0.1.0", | ||
"repository": { | ||
@@ -7,0 +7,0 @@ "type": "git", |
@@ -1,7 +0,7 @@ | ||
## Anvil Concat Plugin | ||
## Anvil Concat Extension | ||
This plugin is a core component of anvil and is required to function as expected. | ||
This is a core component of anvil and is required to function as expected. | ||
## Installation | ||
anvil will install this plugin during post-install. | ||
anvil will install this extension during post-install. |
Sorry, the diff of this file is not supported yet
5362
4
147