Andrew Grieve wrote:
> There's been a couple bugs come in for Android where our update script
>has
> failed to bring a project in line with what would be created for a new
> project: CB-7683, CB-6772
>
> We could put more effort into writing transformations into the update
> script, but I think it might be more pragmatic to just tell people to
> "platform rm android && platform add android".

I don't want to deprecate the command.
But if you want to deprecate the platform script and just have the command
do rm + add, I'm ok with that.

There's no reason that a user should have to write out the pseudo command
that you just wrote.

I think a reasonable implementation would be:
Check for an update script in the new platform, if it exists, use it, if
not, just use rm + add.

Android can then remove its script and get the rm + add behavior.

Reply via email to