aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-03-21 20:02:57 +0100
committercodecalm <codecalm@gmail.com>2020-03-21 20:02:57 +0100
commit0908f417fe8cf18f6f88463eced6926c0e9d99de (patch)
treecbdbc01c6f21107991906537e4eeddaf79905f9c /gulpfile.js
parentbuild new version (diff)
downloadtabler-icons-0908f417fe8cf18f6f88463eced6926c0e9d99de.tar.xz
16 new icons: `alarm`, `arrow-back`, `arrow-forward`, `artboard`, `award`, `bug`, `calendar-event`, `globe`, `help`, `mug`, `palette`, `pencil`, `record-mail`, `ruler`, `scissors`, `stack`
Fixed icons: `directions`, `disabled`, `disc`, `edit`, `switch-vertical`
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js41
1 files changed, 29 insertions, 12 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 3ba79bd..5210a8d 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -222,31 +222,48 @@ gulp.task('prepare-changelog', function(cb) {
});
if(newIcons.length > 0) {
- console.log(`**${newIcons.length} new icons:**\n`);
+ let str = '';
+ str += `${newIcons.length} new icons: `;
- newIcons.forEach(function(icon){
- console.log(`- \`${icon}\``);
+ newIcons.forEach(function(icon, i){
+ str += `\`${icon}\``;
+
+ if((i + 1) <= newIcons.length - 1) {
+ str += ', '
+ }
});
- console.log('');
+ console.log(str);
}
if(modifiedIcons.length > 0) {
- console.log(`**Fixed icons:**\n`);
+ let str = '';
+ str += `Fixed icons: `;
+
+ modifiedIcons.forEach(function(icon, i){
+ str += `\`${icon}\``;
- modifiedIcons.forEach(function(icon){
- console.log(`- \`${icon}\``);
+ if((i + 1) <= modifiedIcons.length - 1) {
+ str += ', '
+ }
});
- console.log('');
+ console.log(str);
}
if(renamedIcons.length > 0) {
- console.log(`**Renamed icons:**\n`);
+ let str = '';
+ str += `**Renamed icons: `;
+
+ renamedIcons.forEach(function(icon, i){
+ str += `\`${icon[0]}\` renamed to \`${icon[1]}\``;
+
+ if((i + 1) <= renamedIcons.length - 1) {
+ str += ', '
+ }
+ });
- renamedIcons.forEach(function(icon){
- console.log(`- \`${icon[0]}\` renamed to \`${icon[1]}\``);
- })
+ console.log(str);
}
cb();