Build Your Own Build

Enough with the theory. Let’s implement build tools for kittenbook and reap the benefits. The first step we take is deciding what we want to automate. JavaScript does not need to be compiled before being packaged, so we don’t need to worry about that. We have not yet created any tests for our project, but we can still do some testing without having written any tests of our own. We definitely want to package our extension, to handle all the concatenating, moving, and renaming that we dealt with using the command line in the last chapter. We don’t need to do any deploying for the extension, so we won’t worry about that step. To summarize, we will use build tools to handle testing and packaging.

Get Learning to Program now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.