a grunt plugin for version iterations
grunt >= 0.4.5
npm install --save-dev grunt-ver-iterator
verIterator: {
test: {
options: {
name: 'grunt',
range: '>=0.4.0',
task: runGruntfile
},
src: ['./test/gruntfile.js']
}
}
require('load-grunt-tasks')(grunt);
- task: { Function } Mandatory
The task going to run and the passing context(i.e.
this
) of the task is grunt task object
- name: { String } Mandatory
Published package name
- range: { String } Optional | "*"
The iterating version ranges in semver format
- dir: { String } Optional | "."
The installing package directory
MIT License