ios - How to configure Cordova CLI to use custom project template repo for given platform? -


cordova cli simple:

cordova platform add ios

plus can append @<version_tag> , use different version. goal have this:

cordova platform add ios@https://github.com/<my_fork>/cordova-ios.git@<my_version_tag/branch>

so platform add command use fork instead of https://github.com/apache/cordova-ios.git. cordova cli doesn't seem allow type of weird statement, there (where?) way customise somehow use different repo url cordova platform?

ok, got it,

i found while traversing cordova-cli files , cordova-lib. here's answer:

cordova platform add git-url#custom-branch

and here source: https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/platform.js


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -