Permalink
Browse files

update template

  • Loading branch information...
1 parent 4ca9ac1 commit be2205a3e1a41fbf05ab2b50b28a3477eb90434f Adam Draper committed Dec 21, 2016
Showing with 16 additions and 1 deletion.
  1. +15 −0 Gruntfile.js
  2. +1 −1 templates/types.js
View
@@ -229,8 +229,23 @@ module.exports = function(grunt) {
}
});
+ grunt.config('string-replace.templates', {
+ files: {
+ 'templates/types.js': 'templates/types.js'
+ },
+ options: {
+ replacements: [
+ {
+ pattern: /: .*/,
+ replacement: ': ' + version
+ }
+ ]
+ }
+ });
+
grunt.task.run([
'string-replace:json',
+ 'string-replace:templates',
'string-replace:numeral'
]);
});
View
@@ -1,6 +1,6 @@
/*! @preserve
* numeral.js
- * <%= type %>: 2.0.3
+ * <%= type %> : 2.0.4
* license : MIT
* http://adamwdraper.github.com/Numeral-js/
*/

0 comments on commit be2205a

Please sign in to comment.