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



71
72
73
74
75
76
# File 'lib/transcriptic/sbt.rb', line 71

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