clearer task naming

This commit is contained in:
Joe Fleming 2015-08-26 13:35:01 -07:00
parent 4239f6cae6
commit 8918f26e21
2 changed files with 4 additions and 4 deletions

View file

@ -70,11 +70,11 @@ module.exports = function (grunt) {
grunt.log.ok(`downloading ${platform.name} - ${mb} mb`);
};
grunt.registerTask('_build:downloadNodes:start', function () {
grunt.registerTask('_build:downloadNodeBuilds:start', function () {
map(platforms, start).nodeify(this.async());
});
grunt.registerTask('_build:downloadNodes:finish', function () {
grunt.registerTask('_build:downloadNodeBuilds:finish', function () {
map(activeDownloads, async (platform) => {
await platform.downloadPromise;
grunt.log.ok(`${platform.name} download complete`);

View file

@ -5,7 +5,7 @@ module.exports = function (grunt) {
'_build:getProps',
'clean:build',
'clean:target',
'_build:downloadNodes:start',
'_build:downloadNodeBuilds:start',
'copy:devSource',
'babel:build',
'_build:cliIndex',
@ -16,7 +16,7 @@ module.exports = function (grunt) {
'clean:testsFromModules',
'run:optimizeBuild',
'stop:optimizeBuild',
'_build:downloadNodes:finish',
'_build:downloadNodeBuilds:finish',
'_build:versionedLinks',
'_build:archives',
!grunt.option('os-packages') ? [] : [