Make is turning 40 in 2017.
This is a practical introduction to Make as a front-end development build tool. I will give the basic understanding of how makefiles work and show how to get the most common front-end tasks done using Make. However I encourage you to read the official manual through.
Why even bother with Make? Make is a powerful tool which is not limited to building packages. You can use it for anything you do from copying files or running webpack to deploying your project. I use this makefile to build and deploy this very web site. These are the tasks that it carries out for me:
- Running Jekyll
- Versioning static assets
- Deploying the web site to GitHub Pages
And that makefile is less than 80 lines of code!