Building Scala Hygienically with Pants



In this talk from the 2013 Northeast Scala Symposium, Foursquare engineer Mark Chu-Carroll presents a new build tool called pants (part of the Twitter-commons library), which is the primary build system at Foursquare.
 
Scala's type system enforces code hygiene in Scala code. But the most common Scala build tools (SBT and Maven) do not enforce dependency hygiene during builds. Loose package hygiene in the build process results in unintended dependency cycles and slower, more error-prone builds.
 
Pants requires explicit declaration of inter-module dependencies, and uses a bottom-up build process to enforce those dependencies without sacrificing compilation speed.
 
 
Want more NE Scala Symposium? Click on the link below to see all the videos!
Published March 19, 2013