Reputation: 1912
I have created a Cordova plugin, which I need to add to my Meteor project. I've tried various forms of:
meteor add cordova:/local/path/to/plugin
I've also tried committing this plugin to git, so that I could try things like:
meteor add cordova:https://[email protected]/project/[email protected]
to which Meteor replies:
Meteor requires either an exact version (e.g. https://[email protected]), a Git URL with a SHA reference, or a local path.
Of course, I'd be happy to use a local path, if I only knew how.
Is this "meteor add" command documented somewhere?
Upvotes: 3
Views: 1355
Reputation: 1912
Just in case anybody cares... the correct command line was:
meteor add cordova:plugin-id@file://path/to/plugin/project
where "plugin-id" seems to correspond to the id given in the header of plugin.xml.
Upvotes: 14