Re:The Makefile I use with JavaScript projects
by drablyechoes on Wednesday February 28, 2018 @03:49PM
(#16486753)
I have used Makefiles for a lot of little things over the years. One of the latest things I have found it useful for is automating deployment of websites via Jenkins jobs.
It is a lot easier and more manageable if your Jenkins job is set up to just run a series of generic Make commands for a project, where any specific steps for a particular project are defined in the Makefile.
This way I do not need to know or care about how any particular project or site is built when configuring the job to deploy it. The Makefile takes care of all that.
It is a lot easier and more manageable if your Jenkins job is set up to just run a series of generic Make commands for a project, where any specific steps for a particular project are defined in the Makefile.
This way I do not need to know or care about how any particular project or site is built when configuring the job to deploy it. The Makefile takes care of all that.