Pint.js - A small, concurrent meta layer for Grunt.js

19
A small, concurrent build system for Grunt.js

description

Pint is a small, asynchronous, dependency aware wrapper around Grunt attempting to solve some of the problems that accompany a build process at scale. A typical Gruntfile starts with, at a minimum, some variation of: jsHint, jasmine, LESS, handlebars, uglify, copy, and clean stack. Just these half dozen or so plugins can balloon your Gruntfile upwards of 300 lines and when you add complex concatenation, cache busting, and versioning can cause it to grow well in to the 1000+ lines. Pint allows you to break up and organize your build into small testable pieces.

Transcript of Pint.js - A small, concurrent meta layer for Grunt.js

Page 1: Pint.js - A small, concurrent meta layer for Grunt.js

A small, concurrent build system for Grunt.js

Page 3: Pint.js - A small, concurrent meta layer for Grunt.js

Concurrency by default

Transparent dependency management

Encourages good organization

Separates independent build tasks

What does Pint do differently?

Page 4: Pint.js - A small, concurrent meta layer for Grunt.js

Back in My Day...

Page 5: Pint.js - A small, concurrent meta layer for Grunt.js

Then this Happened

Page 6: Pint.js - A small, concurrent meta layer for Grunt.js

Bash is hard

Page 7: Pint.js - A small, concurrent meta layer for Grunt.js

But Wait, there’s more!

Page 8: Pint.js - A small, concurrent meta layer for Grunt.js

Automate All The Things!

Page 9: Pint.js - A small, concurrent meta layer for Grunt.js
Page 10: Pint.js - A small, concurrent meta layer for Grunt.js

History Repeats

Page 11: Pint.js - A small, concurrent meta layer for Grunt.js
Page 12: Pint.js - A small, concurrent meta layer for Grunt.js
Page 13: Pint.js - A small, concurrent meta layer for Grunt.js

Organize Your Build

Page 14: Pint.js - A small, concurrent meta layer for Grunt.js

Concurrency

Page 15: Pint.js - A small, concurrent meta layer for Grunt.js

Lifecycle Phases

Page 16: Pint.js - A small, concurrent meta layer for Grunt.js

It’s Gruntfiles all the way down

Page 17: Pint.js - A small, concurrent meta layer for Grunt.js

The Future!

Page 18: Pint.js - A small, concurrent meta layer for Grunt.js

If you’re doing automation, you’re already doing something right. So just build things!