mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix the deprecation message for meteor bundle
This commit is contained in:
@@ -630,8 +630,12 @@ main.registerCommand(_.extend({ name: 'build' }, buildCommands),
|
||||
// XXX COMPAT WITH 0.9.1.1
|
||||
main.registerCommand(_.extend({ name: 'bundle', hidden: true }, buildCommands),
|
||||
function (options) {
|
||||
Console.stdout.write("WARNING: 'bundle' has been deprecated. " +
|
||||
"Use 'build' instead.\n");
|
||||
|
||||
Console.stderr.write(
|
||||
"This command has been deprecated in favor of 'meteor build', which allows you to\n" +
|
||||
"build for multiple platforms and outputs a directory instead of a single\n" +
|
||||
"tarball. See 'meteor help build' for more information.\n\n");
|
||||
|
||||
return buildCommand(_.extend(options, { _serverOnly: true }));
|
||||
});
|
||||
|
||||
|
||||
@@ -230,7 +230,14 @@ This command can be useful to configure AVDs, HAX and update the SDK.
|
||||
|
||||
>>> bundle
|
||||
Deprecated command. Use 'build' instead.
|
||||
Deprecated command. Use 'build' instead.
|
||||
Usage: meteor bundle <output_file.tar.gz>
|
||||
|
||||
Pack this project up into a tarball.
|
||||
|
||||
This command has been deprecated in favor of 'meteor build', which allows you to
|
||||
build for multiple platforms and outputs a directory instead of a single
|
||||
tarball. See 'meteor help build' for more information.
|
||||
|
||||
|
||||
>>> build
|
||||
Build this project for all platforms.
|
||||
|
||||
Reference in New Issue
Block a user