cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shazron <shaz...@gmail.com>
Subject Re: iOS: Why does the cordova.js filename change?
Date Mon, 05 Nov 2012 20:03:41 GMT
> I'm thinking we only update:

>  >   CordovaLib/cordova.ios.js with the latest from cordova-js
> >
> > I think we could do this without the explicit step.
>
>
Ok.


> > Then for a release, run a script/Makefile target to update:
> > 1. CordovaLibAppTests/www/cordova.ios.js
> >
> For this, we can add a copy step to the build phases to copy the file in
> from CordovaLib on each build
>
>
Not feeling too hot for this, we used to have build phases in the project
file. Caused some problems with upgrades and stuff, and was too "hidden"
for people to know what is going on. But this was for a regular project not
CordovaLibAppTests, so I guess its okay for this case.


> > 2. bin/templates/project/www with the versioned .js
> >
> For this, we can have the create script just grab the .js file from
> CordovaLib instead of from the templates directory.


That can work.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message