Class: Transcriptic::SBT::Installer

Inherits:
BaseGenerator show all
Defined in:
lib/transcriptic/sbt.rb

Instance Method Summary collapse

Methods inherited from BaseGenerator

source_root

Instance Method Details

#installObject



50
51
52
53
54
55
# File 'lib/transcriptic/sbt.rb', line 50

def install
  get "http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.12.3/sbt-launch.jar",
    target.join("sbt/sbt-launch.jar")
  copy_file 'sbt', target.join('bin/sbt')
  chmod target.join('bin/sbt'), 0755
end