gulp-wpmvc
Advanced tools
Comparing version 1.2.1 to 1.2.2
18
index.js
@@ -17,12 +17,2 @@ 'use strict'; | ||
* @since 1.0.0 | ||
* @since 1.0.1 Changed execution order and added staging and gulp. | ||
* @since 1.0.2 Added fixes for theme check. | ||
* @since 1.0.3 Pretasks defined and better concat scope. | ||
* @since 1.0.4 Minification. | ||
* @since 1.0.5 Enable the option to set which directories to include on root. | ||
* @since 1.0.6 Added prebuild tasks to enable special customization before zip and build are made. | ||
* @since 1.0.7 Added prezip taks to enable special customization before zip is made. | ||
* @since 1.1.0 Node compatibility changes. | ||
* @since 1.2.0 Removes "bin" folders, prepares wordpress.org SVN. | ||
* @since 1.2.1 Replaces gulp-minify with gulp-jsmin. | ||
* | ||
@@ -51,2 +41,3 @@ * @param object gulp Gulp project application. | ||
if (!config.rootdirs) config.rootdirs = '{app,assets,vendor}/**/*'; | ||
if (!config.deletes) config.deletes = []; | ||
@@ -95,3 +86,3 @@ // Set GULP tasks | ||
gulp.task('build-prezip', ['build-files'], function() { | ||
return del([ | ||
return del(config.deletes.concat([ | ||
'./builds/staging/'+config.name+'/assets/{raw,css,js,wordpress}/**/*', | ||
@@ -106,4 +97,4 @@ './builds/staging/'+config.name+'/vendor/10quality/{ayuco,wpmvc-commands}/**/*', | ||
'./builds/staging/'+config.name+'/vendor/bin', | ||
'./builds/staging/'+config.name+'/vendor/10quality/wp-file/{wp-file,wpmvc-logger,wpmvc-phpfastcache,wpmvc-core,wpmvc-mvc}/tests', | ||
]); | ||
'./builds/staging/'+config.name+'/vendor/10quality/{wp-file,wpmvc-logger,wpmvc-phpfastcache,wpmvc-core,wpmvc-mvc}/tests', | ||
])); | ||
}); | ||
@@ -170,3 +161,2 @@ // Build zip | ||
&& wordpressOrg.username | ||
&& wordpressOrg.password | ||
) { | ||
@@ -173,0 +163,0 @@ // Wordpress task |
{ | ||
"name": "gulp-wpmvc", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Gulp package for Wordpress MVC development.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
9705
214