Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install plugin directly from repository #113

Open
karaxuna opened this issue Dec 6, 2015 · 5 comments
Open

Install plugin directly from repository #113

karaxuna opened this issue Dec 6, 2015 · 5 comments

Comments

@karaxuna
Copy link
Member

karaxuna commented Dec 6, 2015

It would be much easier if we could:

Download from npm:

cordova plugins add jxcore-cordova

Or:

cordova plugins add https://github.com/jxcore/jxcore-cordova

Instead of downloading jx file and extracting it.

@ktrzeciaknubisa
Copy link
Member

@karaxuna The jxcore-cordova repo does not have required binaries, because they are big and each commit makes the entire repo bigger (history is remembered) so we started to keep it packed and moved to another repo jxcore-cordova-release.

But it needs to be packed somehow, since uncompressed files are even more larger.

@karaxuna
Copy link
Member Author

karaxuna commented Dec 7, 2015

@ktrzeciaknubisa I have not used hooks before, but maybe we can use some hook to download binaries before adding plugin? Is it possible?

@ktrzeciaknubisa
Copy link
Member

I was trying to dig it too, due to similar suggestion #77 (comment) . But I wasn't digging long enough to have promising results. Plus, the assumption was to keep entire plugin in npm repo, which seemed not to be proper because of the size.

@karaxuna
Copy link
Member Author

karaxuna commented Dec 7, 2015

@ktrzeciaknubisa I'll try to make it work so that binaries will be downloaded before adding plugin.

@ktrzeciaknubisa
Copy link
Member

It might be good to have it.

Although I think that for dev purposes (where e.g. you need to re-install the plugin often) jxc is more useful, since it is caching downloaded packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants