NIFI-623:

- Add command to add unknown files to svn repo.
- Clearing version in rest docs title.
This commit is contained in:
Matt Gilman 2015-05-20 10:19:46 -04:00
parent 031c22e61e
commit 8c7dd6ab3d
1 changed files with 10 additions and 0 deletions

View File

@ -163,6 +163,7 @@ module.exports = function (grunt) {
message: 'SVN password (if different from configured):'
}],
then: function () {
grunt.task.run('exec:add');
grunt.task.run('exec:commit');
}
}
@ -206,6 +207,12 @@ module.exports = function (grunt) {
stdout: true,
stderr: true
},
add: {
cwd: 'dist',
command: 'svn add --force .',
stdout: true,
stderr: true
},
commit: {
cwd: 'dist',
command: function() {
@ -254,6 +261,9 @@ module.exports = function (grunt) {
replacements: [{
from: /<div class="sub-title">.*<\/div>/g,
to: '<div class="sub-title">NiFi Rest Api</div>'
}, {
from: /<title>.*<\/title>/g,
to: '<title>NiFi Rest Api</title>'
}]
}
},