On Mar 5, 10:48 am, timothytoe <timothy...@gmail.comwrote:
Quote:
I've been writing PHP scripts to automate my build process for
deployment. I'm not very happy with the result.
>
There must be proper tools for this. I've seen discussions of Ant.
Would that work for me, or is there something more suitable for a
JavaScript programmer?
>
Some things I might do are search js files to make sure there are no
more console.log calls, concatenate files. Call optimizers for CSS,
HTML, use gzip.
>
I know this is not a language question, per se, but I wasn't sure
where else I could ask so many JavaScript programmers how this is
typically handled.
Creating a build process will only be a couple hundred lines of code
and is specific to your situation. It may be very hard to find a
prepackaged tool to do the job.
I wrote a blog article about this recently
<URL: http://peter.michaux.ca/article/7346>
Peter
Peter