Skip to content

Commit

Permalink
Documents the new command to ensure cordova dependencies are installed
Browse files Browse the repository at this point in the history
  • Loading branch information
filipenevola committed Mar 12, 2020
1 parent 5fb2f34 commit e4fc3cc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
your app to produce some warnings if your plugins are using old Swift code.
You can override the Swift version using
`App.setPreference('SwiftVersion', 4.2);` but we don't recommend that.

* New command to ensure that Cordova dependencies are installed. Usage:
`meteor ensure-cordova-dependencies`. Meteor handles this automatically but in
some cases, like running in a CI, is useful to install them in advance.

* You can now pass an `--exclude-archs` option to the `meteor run` and
`meteor test` commands to temporarily disable building certain web
Expand Down
5 changes: 4 additions & 1 deletion tools/cli/commands-cordova.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ main.registerCommand({
maxArgs: Infinity,
requiresApp: true,
catalogRefresh: new catalog.Refresh.Never(),
}, function () {
}, function (options) {
Console.setVerbose(!!options.verbose);

ensureDevBundleDependencies();
Console.info("Cordova dependencies are installed.");
});
6 changes: 6 additions & 0 deletions tools/cli/help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,12 @@ Usage: meteor list-platforms

Lists all of the platforms added to your project.

>>> ensure-cordova-dependencies
Ensure that Cordova dependencies are installed.
Usage: meteor ensure-cordova-dependencies

Check if the dependencies are installed, otherwise install them.

>>> configure-android
Run the Android configuration tool from Meteor's ADK environment.
Usage: meteor configure-android
Expand Down

0 comments on commit e4fc3cc

Please sign in to comment.