Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Commit

Permalink
Rename task from wprev to version
Browse files Browse the repository at this point in the history
  • Loading branch information
hariadi committed Nov 21, 2013
1 parent c7f70ae commit 33288ce
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Expand Up @@ -14,7 +14,7 @@ module.exports = function(grunt) {
]
},

wprev: {
version: {
assets: {
src: ['test/fixtures/assets/css/main.min.css',
'test/fixtures/assets/js/scripts.min.js'],
Expand Down Expand Up @@ -56,6 +56,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-readme');

// Register tasks
grunt.registerTask('default', [ 'clean', 'wprev', 'simplemocha', 'readme']);
grunt.registerTask('default', [ 'clean', 'version', 'simplemocha', 'readme']);

};
6 changes: 1 addition & 5 deletions README.md
@@ -1,4 +1,4 @@
# grunt-wp-assets v0.1.4 [![Build Status](https://travis-ci.org/hariadi/grunt-wp-assets.png?branch=master)](https://travis-ci.org/hariadi/grunt-wp-assets)
# grunt-wp-assets v0.1.4 [![Build Status](https://travis-ci.org/roots/grunt-wp-assets.png?branch=master)](https://travis-ci.org/roots/grunt-wp-assets)

> WordPress assets revisioning.
Expand Down Expand Up @@ -124,7 +124,3 @@ The number of characters of the file hash to prefix the file name with.
Copyright (c) 2013 Hariadi Hinta
Released under the MIT license


***

_This file was generated on Wed Nov 20 2013 22:56:38._
6 changes: 1 addition & 5 deletions docs/README.tmpl.md
Expand Up @@ -4,7 +4,7 @@
{%= _.doc("overview.md") %}
{%= _.doc("getting-started.md") %}
{%= _.doc("wprev-*.md") %}
{%= _.doc("version-*.md") %}

{% if (changelog) { %}
## Release History
Expand All @@ -16,7 +16,3 @@

## License
{%= _.include("docs-license.md") %}

***

_This file was generated on {%= grunt.template.today() %}._
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -23,7 +23,7 @@
"scripts": {
"test": "grunt"
},
"main": "tasks/assets.js",
"main": "tasks/version.js",
"engines": {
"node": ">=0.8.0"
},
Expand Down
2 changes: 1 addition & 1 deletion tasks/wprev.js → tasks/version.js
Expand Up @@ -16,7 +16,7 @@ var fs = require('fs'),

module.exports = function(grunt) {

grunt.registerMultiTask('wprev', 'WordPress assets revving', function() {
grunt.registerMultiTask('version', 'WordPress assets revving', function() {

var dest = this.data.dest,
options = this.options({
Expand Down

0 comments on commit 33288ce

Please sign in to comment.