tasks/download.js
function (orchardDownload) {
            grunt.log.writeln('downloading Orchard ' + options.version + ', this may take a while...');

            helpers.curl({
                src: orchardDownload.url,
                dest: options.downloadDestination
            }, function handleCurlComplete (err) {
                // If there is an error, fail
                if (err) {
                    grunt.fail.warn(err);
                    return done();
                }

                grunt.log.writeln('download complete.');
                extractZip(orchardDownload);
            });
        }
function (orchardDownload) {
            grunt.log.writeln('downloading Orchard ' + options.version + ', this may take a while...');

            helpers.curl({
                src: orchardDownload.url,
                dest: options.downloadDestination
            }, function handleCurlComplete (err) {
                // If there is an error, fail
                if (err) {
                    grunt.fail.warn(err);
                    return done();
                }

                grunt.log.writeln('download complete.');
                extractZip(orchardDownload);
            });
        }
function ( orchardDownload ) { grunt . log . writeln ( 'downloading Orchard ' + options . version + ', this may take a while...' ) ; helpers . curl ( { src : orchardDownload . url , dest : options . downloadDestination } , function handleCurlComplete ( err ) { // If there is an error, fail if ( err ) { grunt . fail . warn ( err ) ; return done ( ) ; } grunt . log . writeln ( 'download complete.' ) ; extractZip ( orchardDownload ) ; } ) ; }
Downloads a version of Orchard from the Internet.
Downloads a version of Orchard from the Internet .