Hi, I decided to split the conversation in distinct threads, so that everything should be clearer and easier to read
Il 04/08/11 11.35, Mario Ferraro ha scritto:
> I'd say there should be a script for the first two points that builds > everything in a specific folder. FTP releasing script can be done, but > it's easy enough to upload by FTP once the folder is ready. Other > people might want to release in a different way.
That's fine, I believe FTP upload should be passed to the script via a command line option. No option, no upload.
I know that someone in this list (Flavio?) does not like bash scripting, preferring python/ruby/perl/whatever. We could also create a php script so that it could be put on farfalla's website and allow developers to download their own ready-packaged distribution, more or less like jquery does for developers.
> I gave them a quick look to both, but they seem to me a little overkill.. > Perhaps this is not really needed by now, but it should be considered for > future developments..
Yes, agree. I'd say even a quick bash script would accomplish the task for the moment, something like 1) use sed to put the right hostname in the right files 2) compress the JS 3) copy everything into a new folder 4 [optional]) upload by FTP
I'd not overcomplicate at this early stage, there is always room for improvement :)