Skip to content

Commit be2205a

Browse files
Adam DraperAdam Draper
Adam Draper
authored and
Adam Draper
committed
update template
1 parent 4ca9ac1 commit be2205a

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

Gruntfile.js

+15
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,23 @@ module.exports = function(grunt) {
229229
}
230230
});
231231

232+
grunt.config('string-replace.templates', {
233+
files: {
234+
'templates/types.js': 'templates/types.js'
235+
},
236+
options: {
237+
replacements: [
238+
{
239+
pattern: /: .*/,
240+
replacement: ': ' + version
241+
}
242+
]
243+
}
244+
});
245+
232246
grunt.task.run([
233247
'string-replace:json',
248+
'string-replace:templates',
234249
'string-replace:numeral'
235250
]);
236251
});

templates/types.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*! @preserve
22
* numeral.js
3-
* <%= type %>: 2.0.3
3+
* <%= type %> : 2.0.4
44
* license : MIT
55
* http://adamwdraper.github.com/Numeral-js/
66
*/

0 commit comments

Comments
 (0)