Here are some of the things we wanted to do originally:
* Preprocess the index.html template
This lets us distinguish between builds for different platforms. E.g. Android vs. iOS vs. Web
* Compile the templates into a single template file
Less requests means faster load times. The single most important load time to minimize is the first one.
* Minify the CSS and JS
Both are interpreted languages which parse and run faster when there’s less characters to be parsed.
* Lint the existing codebase for semantic gotchas
A standard software engineering practice that catches subtle kinks in the code before they get out of hand.
* Run shell tasks as build phases
Handy for moving files around or further automation during intermediary stages of a build process.
* Connect to the PhoneGap Build system
We used this system in the early stages of the app to keep things relatively uniform across Android and iOS platforms.
No comment yet.
Sign up to comment
Your new post is loading...