14
sbt: an incredible machine @remeniuk

sbt: the incredible machine

Embed Size (px)

DESCRIPTION

Presentation made by @remeniuk at the 7th meetup of Scala Enthusiasts Belarus (scala.by). Screencast (video): http://video.yandex.by/users/vasil-remeniuk/view/1/ Other materials from that meetup: http://scala.by/meetups/2011/12/10/7.html

Citation preview

Page 1: sbt: the incredible machine

sbt: an incredible machine @remeniuk

Page 2: sbt: the incredible machine

antmechanical transmission went out of fashion

Page 3: sbt: the incredible machine

maven try my gold hammer

Page 4: sbt: the incredible machine

sbt a perfect illustration to "Simple made Easy" by Rich Hickey

Page 5: sbt: the incredible machine

build tools comparison checklist:

create a project from scratchadd custom tasks to the build scriptcontrol and modify 3rd party pluginscreate reusable assets(plugins)

Page 6: sbt: the incredible machine

two things that make sbt easier    giter8    plugins

create a project from scratch

Page 7: sbt: the incredible machine

giter8 ~= maven archetypes

 > g8 --list > g8 organization/template

create a project from scratch

Page 8: sbt: the incredible machine

giter8 > maven archetypesyou can make project templates not only for sbt*

*it works for ant, maven and others build tools, as well

create a project from scratch

Page 9: sbt: the incredible machine

sbt pluginis not a blackbox!Project("plugins", file(".")) .dependsOn(uri("http://github.com/org/plgn"))

..., so go, and customize it!

control and modify 3rd party plugins

Page 10: sbt: the incredible machine

got tired of shell/python/ruby- script chaos?dozens of various, small scripts here an there...

Page 11: sbt: the incredible machine

> console-project makes it easy

sbt can be a great home                           for project related scripts

with tasks and settings it's done simple

add custom tasks to the build script

Page 12: sbt: the incredible machine

making plugins 

yes you can!

create reusable assets(plugins)

Page 13: sbt: the incredible machine

start being an opensource committer today!

github pages for publishing artifactsimplicit.ly for letting others know about                                              your wonderful plugin

create reusable assets(plugins)

Page 14: sbt: the incredible machine

thank you.