Skip to content

Commit 05bf078

Browse files
Portugal, MarceloPortugal, Marcelo
authored andcommitted
chore(grunt): Added a build flag to disable fontello
Updated aliases.js so that it reads in a grunt option for fontello and removes it from the build task if fontello is set to false.
1 parent 5fe5a3e commit 05bf078

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

grunt/aliases.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ module.exports = function (grunt, options) {
3636
baseTasks['dev'].splice(baseTasks['dev'].indexOf('autotest:unit'), 1);
3737
}
3838

39+
if (grunt.option('fontello') === false) {
40+
grunt.log.writeln("Skipping fontello...");
41+
baseTasks['build'].splice(baseTasks['build'].indexOf('fontello'), 1);
42+
}
43+
3944
if (process.env.TRAVIS){
4045
baseTasks['test:single'] = ['karma:travis'];
4146
}

0 commit comments

Comments
 (0)