Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Grunt: The JavaScript Task Runner

You're reading from   Getting Started with Grunt: The JavaScript Task Runner If you know JavaScript you ought to know Grunt – the Task Runner for managing sophisticated web applications. From a basic understanding to constructing your own advanced Grunt tasks, this tutorial has it all covered.

Arrow left icon
Product type Paperback
Published in Feb 2014
Publisher
ISBN-13 9781783980628
Length 132 pages
Edition Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Jaime Pillora Jaime Pillora
Author Profile Icon Jaime Pillora
Jaime Pillora
Bocoup LLC Bocoup LLC
Author Profile Icon Bocoup LLC
Bocoup LLC
Arrow right icon
View More author details
Toc

Continuous integration with Grunt


To put it simply, a continuous integration (or CI) server is a dedicated machine with the sole purpose of running builds, that is, it will continuously integrate the new build into a given system. Generally, CI servers work by creating an HTTP server and listening for data to be sent to it. Then, HTTP clients can post data to this server, triggering the server to start the build. For instance, you could tell GitHub to trigger your CI server on every commit (http://gswg.io#github-webhooks), then use Grunt on your CI to continuously perform tasks (such as analyzing, compiling, testing, and deploying your build) as new code arrives. When set up correctly, the act of committing to the main branch in your repository could analyze, compile, test, and deploy your application. This streamlined approach to deployment is highly valuable as it reduces development iteration time. See this Wikipedia page for a list of continuous integration servers http://gswg.io#ci...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime